Wednesday, August 31, 2011

Removal of unwanted Plugin-s Actionsets from Toolbar of RCP

I noticed that "search" and "debug" were still visible in my RCP after I had branded and exported it.

The solution to remove these options from my RCP was to just include the below Extension in my RCP's plugin.xml file.

< extension point="org.eclipse.ui.activities">

< activity id="rcpcolibri.disablextensions" name="Hidden activities"/>

< activityPatternBinding activityId="rcpcolibri.disablextensions"pattern="org.eclipse.debug.ui.*" / >

< activityPatternBinding activityId="rcpcolibri.disablextensions"pattern="org.eclipse.search.*" / >< / extension>

No comments:

Post a Comment