Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Wtp-wst-dev] Menu Ids

Thanks, David. I saw that page when doing some searches on Ids, unfortunately it didn't really get me where I needed to be. Here is an example that does work, contributing to the main File menu option, what I'm trying to do is figure out the necessary format for contributing the the XML menu option when the xml Editor is open.

  <extension
        point="org.eclipse.ui.menus">
     <menuContribution
           locationURI="menu:file?after=additions">
        <command
              commandId="org.eclipse.ui.help.aboutAction"
              icon="icons/xmldoc.gif"
              label="Test Contribution"
              tooltip="Test Contribution">
        </command>
     </menuContribution>
  </extension>

It tried putting in xmlMenu, org.eclipse.core.runtime.xml.design.xmlMenu, org.eclipse.core.runtime.xml.source.xmlMenu, etc. but none of them seem to work.

Information about the org.eclipse.ui.menus extension point can be found:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm

http://wiki.eclipse.org/index.php/Menu_Contributions


Dave


David M Williams wrote:

I suspect the information at the following URL will be helpful (and is probably relatively accurate still).

http://www.eclipse.org/webtools/wst/components/sse/overview.html

------------------------------------------------------------------------

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



Back to the top