Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to remove/add a menu item from Context Menu of a Representation.
How to remove/add a menu item from Context Menu of a Representation. [message #1495266] Tue, 02 December 2014 04:39 Go to next message
Huy Le is currently offline Huy LeFriend
Messages: 18
Registered: November 2014
Junior Member
Hello,

I would like to remove/hide Copy menu item from the context menu when right-clicking on a Representation as described in the image below

index.php/fa/20089/0/

As I know, the context menu is built via org.eclipse.sirius.ui.tools.internal.views.common.ContextMenuFiller

Does Sirius give us api to do the job?


Thanks,

Huy.
Re: How to remove/add a menu item from Context Menu of a Representation. [message #1495514 is a reply to message #1495266] Tue, 02 December 2014 09:15 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 02/12/2014 05:39, Huy Le a écrit :
> Hello,

Hi Huy,
>
> I would like to remove/hide Copy menu item from the context menu when right-clicking on a Representation as described in the image below
>
>
>
> As I know, the context menu is built via org.eclipse.sirius.ui.tools.internal.views.common.ContextMenuFiller
>
> Does Sirius give us api to do the job?

Sirius does not currently provide api to remove those actions. But it
should be possible to add new menus with the org.eclipse.ui.menu or
org.eclipse.ui.popupmenus extensions point.

>
>
> Thanks,
>
> Huy.
>

Regards

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Add properties to the relational based edge
Next Topic:Queries for moveElement Java action
Goto Forum:
  


Current Time: Thu Apr 18 05:44:00 GMT 2024

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

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

Back to the top