Skip to main content

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


I was going to respond to this email, but I've seen you've opened a bug on this issue.  I've responded there (though it's not a simple "here's the solution" answer).  And in case others are interested in the topic, they can go to the bug opened:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=212330

______________________________
Amy Wu
905.413.2522, T/L 313-2522
wuamy@xxxxxxxxxx



David Carver <d_a_carver@xxxxxxxxx>
Sent by: wtp-wst-dev-bounces@xxxxxxxxxxx

12/08/2007 10:50 AM

Please respond to
"Web Standard Tools developer discussions." <wtp-wst-dev@xxxxxxxxxxx>

To
"Web Standard Tools developer discussions." <wtp-wst-dev@xxxxxxxxxxx>
cc
Subject
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
>  

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


Back to the top