tell me some popupmenu items [message #480421] |
Mon, 17 August 2009 05:02 |
Eclipse User |
|
|
|
Originally posted by: shenji.ecquaria.com
now i want create a menu on top of popupmenu,see org.eclipse.ui.menus and
org.eclipse.ui.popupMenus often used "additions",why i can't find another
items
similar with "additions"£¬could you tell me some other existing popupmenu
items?thank you.
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?before=additions ">
<menu
id="xxx.menu1"
label="test">
</menu>
</menuContribution>
</extension>
|
|
|
|
Re: tell me some popupmenu items [message #480629 is a reply to message #480585] |
Tue, 18 August 2009 01:51 |
Eclipse User |
|
|
|
Originally posted by: shenji.ecquaria.com
but eclipse had a separator named "additions" already,i have know how to
do,you can write as "before=group.new" or "before=group.show" and so
on,then the menu will appear above the popupmenu "new" or "show".
|
|
|
Re: tell me some popupmenu items [message #480634 is a reply to message #480421] |
Tue, 18 August 2009 02:36 |
Eclipse User |
|
|
|
Originally posted by: shenji.ecquaria.com
when used "before=group.new","test" appear on top of popupmenu in Package
Explorer view,but there is no change in Navigator view.is there any way to
let it top of popupmenu in the Navigator view.
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?before=group.new ">
<menu
id="xxx.menu1"
label="test">
</menu>
</menuContribution>
</extension>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds