Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » modifying icons for launch config entries
modifying icons for launch config entries [message #550010] Wed, 28 July 2010 17:39
Brian R is currently offline 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>
Previous Topic:editor actions that do not disable?
Next Topic:Ignoring Eclipse build/builders when modifying project structure/classpath
Goto Forum:
  


Current Time: Tue Sep 30 10:09:05 GMT 2014

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

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