Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] "Generate" menu on XSDs

Thanks guys.

Neil

Gabriel Indik wrote:

Neil,
Here is a small code snippet to add an action to that menu:

<extension point="org.eclipse.ui.popupMenus">
<objectContribution
objectClass="org.eclipse.core.resources.IFile"
nameFilter="*.xsd"
id="someID">
<action
label="%genActionLabel"
menubarPath="generateMenuId/GenerateXML"
class="someClass"
enablesFor="1"
id="someID">
</action>
</objectContribution>
</extension>

Kind regards,
Gabriel.



Inactive hide details for Neil Hauge <neil.hauge@xxxxxxxxxx>Neil Hauge <neil.hauge@xxxxxxxxxx>



To

"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

cc


Subject

[wtp-dev] "Generate" menu on XSDs

Valentin or others,

I am trying to make a contribution to the "Generate" context menu that
is enabled for XSD file types, but I can't seem to find it.  Can anyone
give me a pointer to where this menu item is defined?

Neil
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


_______________________________________________ wtp-dev mailing list wtp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top