Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Question about syntax
Question about syntax [message #121237] Fri, 02 December 2005 06:39
Eclipse UserFriend
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>
Previous Topic:How to configure Eclipse and CVSNT?
Next Topic:Help for Eclipse
Goto Forum:
  


Current Time: Wed Jan 15 11:05:42 GMT 2025

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

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

Back to the top