I'm using Eclipse HELIOS to code a Rich Client app. The following entries are added automatically to my APP "PERSPECTIVES MENU": "Java, Java Browsing, Java Type Hierarchy, Team Synchronizing". I need to get rid of them.
i'm using the extension point="org.eclipse.ui.activities" to disable unwanted extensions (like the editor and search options that appear on the coolbar)
I managed to get rid of "Debug" by adding "org.eclipse.debug.ui.*"
This is my actual config:
<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.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.editors.*"/>
<activityPatternBinding activityId="rcpcolibri.disablextensions" pattern="org.eclipse.ui.externaltools.*"/>
</extension>
What extensions should I disable?
Is there another way of managing this issue?
Eclipse should work the other way arround: we shoud ADD what we need, and not have everything thrown in by eclipse...
What template did you follow to create your RCP?
If you look at Vogella's RCP tutorial, you end up with a very empty RCP:
That being said, Vogella also addresses activities in his "Eclipse Activities – Hide / Display certain UI elements", where you can see concrete example of activityPatternBinding
filtering.
He recommends also to combine those activities with some commands.
Activities can also be used together with core expressions and your own define expressions (which you define via
ISourceProvider
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With