Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » for org.eclipse.ui.navigator.navigatorContent where/how are the "property" values defined?
for org.eclipse.ui.navigator.navigatorContent where/how are the "property" values defined? [message #557975] Thu, 09 September 2010 16:17 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
R3.4 (I know, I know), WinXP

I have a collection of plug-ins for Eclipse, including an extension to
"org.eclipse.ui.navigator.navigatorContent", which defines a
ContentProvider and so on.

I'd like to add yet another <test> using a "property", but do not know
where and how the ids and so on for the "property" test ...

The relevant part of the plugin.xml looks like this (in a <triggerPoints>):

<and>
<instanceof value="org.eclipse.core.resources.IProject" />
<test forcePluginActivation="true"
property="org.eclipse.core.resources.projectNature"
value="com.mun.ist.project.myprojectnature"/>
</and>

So -- where do I look up what property values are already defined? and
how would I plug in a new one?

(I did look at the extension-point definition, of course, and also at
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/cnf.htm,
and at some other sites found via google, but no luck ...)

thanks
Paul
Re: for org.eclipse.ui.navigator.navigatorContent where/how are the "property" values defi [message #558065 is a reply to message #557975] Fri, 10 September 2010 05:50 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
The way I always figure this out is look for a message by Paul Webster, his email signature has the links to all of the good stuff:


Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm

The one you want is:

http://wiki.eclipse.org/Command_Core_Expressions

This should work fine for 3.4




Previous Topic:"No application id has been found." when I imported new dependency
Next Topic:Creating Excel sheet using RCP
Goto Forum:
  


Current Time: Tue Oct 15 12:39:52 GMT 2024

Powered by FUDForum. Page generated in 0.03259 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top