Override definitions in plugin.xml [message #633851] |
Tue, 19 October 2010 11:35  |
Eclipse User |
|
|
|
is it possible to override definitions in plugin.xml?
For example, I want the definition "org.eclipse.ui.examples.contributions.view.inView" to return true for some views I have added for which it is not turning true, so I have added:
<extension
point="org.eclipse.core.expressions.definitions">
<definition id="org.eclipse.ui.examples.contributions.view.inView">
<or>
<instanceof
value="com.acme.navigator.ContainerObject">
</instanceof>
<instanceof
value="com.acme.navigator.RootObject">
</instanceof>
<adapt type="org.eclipse.core.resources.IResource">
<test
property="org.eclipse.core.resources.projectNature"
value="com.acme.navigator.nature">
</test>
</adapt>
</or>
</definition>
</extension>
To the top of my eclipse plugins plugin.xml. It doesn't appear to be working, should it be?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.24454 seconds