Hi Christelle,
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 "com.st.something".
Then, a linux-specific fragment "com.st.something.linux". This fragment will extend your base plugin, but only on linux. It will also contains the definition of your launch config.
Hope this help :)
Xavier
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?
Hi,
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 thanksChris_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev