Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Removing default context menu edit part actions
Removing default context menu edit part actions [message #241649] Tue, 26 February 2008 20:43
Andy Emmett is currently offline Andy EmmettFriend
Messages: 9
Registered: July 2009
Junior Member
Does anyone have an example or is able to explain, how to create a context
menu for an EditPart that can contain user defined object contributions (I
know how to do this part), but without the default SubMenu additions ...

Run As
Debug As
Profile As
Analysis
Team
Compare With
Replace With


It seems that these get added along with my object contributions whenever
registerContextMenu is called. Without this call, I cannot get my object
contributions added for the EditPart to display at all.

ContextMenuProvider menuManagerProvider = new MyMenuProvider(viewer);
viewer.setContextMenu(menuManagerProvider);

getSite().registerContextMenu(menuManagerProvider, viewer);


Can anyone help ?
Thanks in advance
Previous Topic:Scroll bar positions
Next Topic:[Announce] GEF 3.4.0 I200802261920 is available
Goto Forum:
  


Current Time: Thu Apr 25 21:13:02 GMT 2024

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

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

Back to the top