Skip to main content



      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] Mon, 01 December 2014 23:39 Go to next message
Eclipse UserFriend
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 04:15 Go to previous message
Eclipse UserFriend
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
Previous Topic:Add properties to the relational based edge
Next Topic:Queries for moveElement Java action
Goto Forum:
  


Current Time: Sun Jul 06 00:15:53 EDT 2025

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

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

Back to the top