Excluding a view from Properties View
Posted On Sep 10, 2009 at by Prakash G.R.In a previous tip, we saw how to make a Properties View to respond only to a particular View or Editor. In this tip, we are going to see how to exclude a particular View or Editor from the Properties View. This will be very helpful in RCP apps, where they don't want the generic view like Outline view or an editor that contributes to the Properties View. Last time we extended the Properties View to create our own view and added some code. But this time its simple. You just have to use the org.eclipse.ui.propertiesView extension point.
<extension
point="org.eclipse.ui.propertiesView">
<excludeSources
id="org.eclipse.ui.views.ContentOutline">
</excludeSources>
<excludeSources
id="com.eclipse_tips.editors.MyOwnEditor">
</excludeSources>
</extension>
Yes, its that simple :-) Don't try with Galileo, you would need Helios (3.6) M2 to get this working.
Tired of unwanted and irrelevant results in Google? Try Eclipse Search, the Customized Seach Engine that gives you only relevant results - Powered by Google! It has plugins for Eclipse and Firefox/IE