Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:38 Go to next message
Bernhard Wedl is currently offline Bernhard WedlFriend
Messages: 1
Registered: October 2014
Junior Member
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 10:37 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 13:50 Go to previous message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
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: Tue Sep 24 04:04:21 GMT 2024

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

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

Back to the top