[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-dev] "Generate" menu on XSDs
|
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.
Neil Hauge <neil.hauge@xxxxxxxxxx>
Neil Hauge <neil.hauge@xxxxxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx
23/02/2010 11:39 AM
Please respond to
"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx> |
|
|
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


