Question about syntax [message #121237] |
Fri, 02 December 2005 06:39 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
I am trying to use the following syntax to allow me to right
click in an editor and see a popup menu that submits information to an
action.
I am having trouble getting the menu item to only show up with certain
file types. Can someone see any issues?
<viewerContribution
id="GSubmissions"
targetID="org.eclipse.core.runtime.xml.source.EditorContext ">
<action id="SubmitG"
label="Submit to Tool"
icon="resources/images/com/xx/ide/GIcon.gif"
class="com.xx.ide.eclipse.debug.action.EditGDelegate"
menubarPath="group.add"
>
<enablement>
<and>
<objectClass name="org.eclipse.core.resources.IFile"/>
<objectState name="extension" value="qzxml"/>
</and>
</enablement>
</action>
</viewerContribution>
|
|
|
Powered by
FUDForum. Page generated in 0.08829 seconds