Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Excluding a View From Properties View

DZone's Guide to

Excluding a View From Properties View

· Java Zone ·
Free Resource

Verify, standardize, and correct the Big 4 + more– name, email, phone and global addresses – try our Data Quality APIs now at Melissa Developer Portal!

n 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.

From http://blog.eclipse-tips.com/

Developers! Quickly and easily gain access to the tools and information you need! Explore, test and combine our data quality APIs at Melissa Developer Portal – home to tools that save time and boost revenue. Our APIs verify, standardize, and correct the Big 4 + more – name, email, phone and global addresses – to ensure accurate delivery, prevent blacklisting and identify risks in real-time.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}