Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to make a launchConfigurationTypes appears only on Linux?

Hi Christelle,

You can use a fragment for that (
A fragment is used to replace or extend the functionality of an existing plug-in. A common use for fragments is to put environment (operating system, architecture, etc.) specific code into fragments.

In your case, you will have your base plug-in "".
Then, a linux-specific fragment "". This fragment will extend your base plugin, but only on linux. It will also contains the definition of your launch config.

Hope this help :)


De: "Christelle BURGUERA" <Christelle.BURGUERA@xxxxxx>
À: cdt-dev@xxxxxxxxxxx
Envoyé: Lundi 24 Novembre 2014 13:21:17
Objet: [cdt-dev] How to make a launchConfigurationTypes appears only on        Linux?


I develop a RCP application (in java) based on CDT.
I have a project type (C/C++) particular that don't work under windows.

I would condition the visibility of the creation item launchConfiguration as if we are on Linux or not.

So I created an extension of org.eclipse.debug.core.launchConfigurationTypes type, but there is no way to display its condition visibility.

I thought overloaded the extension point and add an OS field.
But I've never done this kind of exercise, and I do not even know if it is possible, knowing that I want everything works as before except add a flag of visibilty ...

Is this possible?
Any idea how can I make that ?

Many thanks

cdt-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top