| [news.eclipse.newcomer] Re: Need to change the default Launch Configuration name |
Hello,
I have created a custom launch configuration, and am looking for a way to change the default 'New_configuration' to a more meaningful string.
I have made some progress with this, but fear I am heading down the path to ugly code. Here is what I have tried so far:
1) Looked at ILaunchConfiguration and noticed there is only a getName(), but no setName().
2) Looked at the eclipse source to find where the default name gets set, and found RunDebugPropertiesPage.java. Great to know, but this doesn't help me out much.
3) Figured out a way to access the text control that contains the launch configuration name. Then added a VerifyEvent to that text box. Here I can substitute my name in, which then shows up in the GUI. The problem is I can't save my working configuration, as I have no access to it in the VerifyEvent.
Looking for some guidance, hoping there is an easier way to do this.
Hope this helps, Eric