Remote Launch Configuration Tab [message #25093] |
Mon, 09 June 2008 05:04  |
Eclipse User |
|
|
|
Hi,
I have created my IDE for our domain language using DLTK framework
(using eclipse 3.3.2 with DLTK M4)It uses DLTK launching infrastructure.
In my IDE, I am using "Remote Launch Configuration Tab" which extends
" org.eclipse.dltk.debug.ui.launchConfigurations.RemoteLaunchC onfigurationTab "
There we have three text fields with labels - port , ideKey ,
remoteWorkingDir .All these parameters user has to give through Remote
launch configuration tab.Dltk framework provide the default values of
these fields i.e port as "10000" ,IDE Key as "idekey" .
Is there any mechanism to set our own DEFAULT values of these parameters?
As the variables port and idekey are private variables and we dont have
any handle i.e any getter and setter method,so that we can set our own
default values.
Also I want a handle to change the labels in the Remote Launch
Configuration Tab. For eg. I want to change the label "port" to "Remote
Port". Is there any way to do this.
Please Help.
|
|
|
Re: Remote Launch Configuration Tab [message #25421 is a reply to message #25093] |
Tue, 10 June 2008 02:38  |
Eclipse User |
|
|
|
Hi, Suprit
I've modified class RemoteLaunchConfigurationTab().
Please use methods methods getDefaultPort(), getDefaultIDEKey() to override default values.
Also you could override doCreateControl() and specify required labels. (fields now protected).
This fix are in HEAD, and will be included in upcoming RC4 build.
Best regards,
Andrei Sobolev.
> Hi,
> I have created my IDE for our domain language using DLTK framework
> (using eclipse 3.3.2 with DLTK M4)It uses DLTK launching infrastructure.
>
> In my IDE, I am using "Remote Launch Configuration Tab" which
> extends
> " org.eclipse.dltk.debug.ui.launchConfigurations.RemoteLaunchC onfigurationTab "
>
> There we have three text fields with labels - port , ideKey ,
> remoteWorkingDir .All these parameters user has to give through Remote
> launch configuration tab.Dltk framework provide the default values of
> these fields i.e port as "10000" ,IDE Key as "idekey" .
>
> Is there any mechanism to set our own DEFAULT values of these
> parameters? As the variables port and idekey are private variables and
> we dont have any handle i.e any getter and setter method,so that we can
> set our own default values.
>
> Also I want a handle to change the labels in the Remote Launch
> Configuration Tab. For eg. I want to change the label "port" to "Remote
> Port". Is there any way to do this.
>
> Please Help.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02161 seconds