modifying icons for launch config entries [message #550010] |
Wed, 28 July 2010 17:39 |
Brian R Messages: 1 Registered: July 2010 |
Junior Member |
|
|
We are developing an application that creates custom launch configurations but some of the attributes we're presenting to the user come with warnings if they are chosen. We'd like to be able to modify/decorate the icons shown in the launch list to match the condition of specific entries but so far I've been unable to.
Any suggestions?
I know you can register multiple types with different icons per the example I found online (below) but is this the best approach? How would you change the launch config type once its already built?
Thanks,
Brian
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
id="org.chromium.debug.ui.LaunchConfigTypeImage$Chromium"
configTypeID="org.chromium.debug.ui.LaunchType$Chromium"
icon="res/chromium_16.png">
</launchConfigurationTypeImage>
<launchConfigurationTypeImage
id="org.chromium.debug.ui.LaunchConfigTypeImage$StandaloneV8"
configTypeID="org.chromium.debug.ui.LaunchType$StandaloneV8"
icon="res/standalone_v8_16.png">
</launchConfigurationTypeImage>
<launchConfigurationTypeImage
id="org.chromium.debug.ui.LaunchConfigTypeImageConsolePseudoConfiguration"
configTypeID="org.chromium.debug.ui.ConsolePseudoConfigurationType"
icon="res/chromium_16.png">
</launchConfigurationTypeImage>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.02153 seconds