Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » menu contribution with extension point
icon5.gif  menu contribution with extension point [message #1454879] Tue, 28 October 2014 17:38 Go to next message
Eclipse UserFriend
Hi there,

I wonder if there is a mechanism to "add" a right click menu to nodes with an extension point like with swt.

Best regards
Barns
Re: menu contribution with extension point [message #1455406 is a reply to message #1454879] Wed, 29 October 2014 06:37 Go to previous messageGo to next message
Eclipse UserFriend
Please give us more context. Are you talking about e4? Then this works
the same as it does work in any e4 application by using the EMenuService.

Tom

On 29.10.14 11:26, Bernhard Wedl wrote:
> Hi there,
>
> I wonder if there is a mechanism to "add" a right click menu to nodes
> with an extension point like with swt.
>
> Best regards
> Barns
Re: menu contribution with extension point [message #1455558 is a reply to message #1455406] Wed, 29 October 2014 09:50 Go to previous message
Eclipse UserFriend
You're talking about a popup menu ?



  1. Define it in your Application.e4xmi-file, on the part where you need it
  2. In your part-code, register the menu with the control by

    1. Injecting a EMenuService instance,
    2. menuservice.registerContextMenu(myControl, myContextMenuID) ;

Previous Topic:Testing e(fx)clipse powered RCP applications
Next Topic:Is Scene Builder supported in Eclipse Luna
Goto Forum:
  


Current Time: Fri Jul 04 16:08:59 EDT 2025

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

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

Back to the top