Community
Participate
Working Groups
Currently, I find no way to hide some launchconfiguration type in the launch configuration dialog with activities. I could be very nice to be able to do that. My use case is : An IDE which should be as simple as possible. So we hide features which is not useful in current use case, but we will offer to advanced users to activate this feature thanks to preference page. We are using activities to do that. For launch configuration, we implement a workaround : - use the "classic" filtering preference to hide some launchconfiguration (plugin_customization). - add listener on our activity to change this preference when the activity is activated ot deactivated. - we attach the listener at startup thanks to the org.eclipse.ui.startup This is clearly a workaround.
My goal is similar to yours. On Eclipse Mars the following pattern removes the CDT "C/C++ Application" launch configuration type from the Debug Configuration dialog and from Preferences > Run/Debug > Launching > Launch Configurations. Note the Default Launchers page does not support activity filtering. <extension point="org.eclipse.ui.activities"> ... <!-- C/C++ Application in launch configurations, launching preferences --> <activityPatternBinding isEqualityPattern="true" activityId="org.eclipse.cdt.launch" pattern="org.eclipse.cdt.debug.core/org.eclipse.cdt.launch.applicationLaunchType"> </activityPatternBinding> ... </extension>