Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Remote Launch Configuration Tab
Remote Launch Configuration Tab [message #25093] Mon, 09 June 2008 09:04 Go to next message
suprit  is currently offline suprit Friend
Messages: 15
Registered: July 2009
Junior Member
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 06:38 Go to previous message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 72
Registered: July 2009
Member
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.
>
>
Previous Topic:FieldDeclaration not included in Outline view
Next Topic:(org.eclipse.dltk.ui.text.completion.)ProposalInfo.getHTMLContentReader:150 - NullPointerException
Goto Forum:
  


Current Time: Sun Sep 01 03:26:58 GMT 2024

Powered by FUDForum. Page generated in 0.02578 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top