Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Add a cascade menu to a contex menu item
Add a cascade menu to a contex menu item [message #325680] Mon, 25 February 2008 11:54 Go to next message
Eclipse UserFriend
Hello,

does somebody know, how can i add a cascade menu to a contex menu item?

Greetings
Re: Add a cascade menu to a contex menu item [message #325684 is a reply to message #325680] Mon, 25 February 2008 11:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------010801010705000906040506
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

J
Re: Add a cascade menu to a contex menu item [message #325686 is a reply to message #325684] Mon, 25 February 2008 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Ah sorry for the bad description. No i meant to a context menu in a
jface tableviewer.

Ed Merks schrieb:
> Jörg,
>
> You mean declaratively in the plugin.xml?
>
> <extension point="org.eclipse.ui.popupMenus">
> <objectContribution id="org.eclipse.emf.ecore.editor.Open"
> objectClass="org.eclipse.core.resources.IFile">
> <visibility>
> <systemProperty name="org.eclipse.emf.ecore.editor.Open"
> value="true"/>
> </visibility>
>
> <menu id="org.eclipse.emf.ecore.editor.Open"
> label="%_UI_OpenAs_menu_item" path="org.eclipse.ui.OpenWithSubMenu">
> <separator name="additions" />
> </menu>
>
> <action
> id="org.eclipse.emf.ecore.editor.OpenXMLReflectiveEditorAction "
> label="%_UI_EMFXML_menu_item"
> menubarPath="org.eclipse.emf.ecore.editor.Open/additions"
> class="org.eclipse.emf.ecore.action.OpenEditorAction" enablesFor="1">
> </action>
>
> <action
> id="org.eclipse.emf.ecore.editor.OpenReflectiveEditorAction "
> label="%_UI_EMFXMI_menu_item"
> menubarPath="org.eclipse.emf.ecore.editor.Open/additions"
> class="org.eclipse.emf.ecore.action.OpenEditorAction" enablesFor="1">
> </action>
> </objectContribution>
>
> <objectContribution
> id="org.eclipse.emf.ecore.editor.CreateDynamicInstance"
> objectClass="org.eclipse.emf.ecore.EClass">
> <action
> id="org.eclipse.emf.ecore.editor.CreateDynamicInstanceAction "
> label="%_UI_CreateDynamicInstance_menu_item" menubarPath="additions"
> class="org.eclipse.emf.ecore.action.CreateDynamicInstanceAction "
> enablesFor="1">
> </action>
> </objectContribution>
> </extension>
>
>
> Jörg wrote:
>> Hello,
>>
>> does somebody know, how can i add a cascade menu to a contex menu item?
>>
>> Greetings
>
Re: Add a cascade menu to a contex menu item [message #325695 is a reply to message #325686] Mon, 25 February 2008 12:41 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------050701020104010904070804
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

J
Previous Topic:problem in deployed plugin
Next Topic:can't start deployed plugin
Goto Forum:
  


Current Time: Fri Apr 25 00:45:13 EDT 2025

Powered by FUDForum. Page generated in 0.02645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top