|Re: removing the duplicate item from context menu [message #684457 is a reply to message #684425]
||Wed, 15 June 2011 14:57
|| Mickael Istria, away until January 8th
Registered: July 2009
Location: Grenoble, France
Ooops sorry, I made a mistake!|
You can try to use the org.eclipse,gmf.common.ui.services.action.contributionItemProviders extension point to override the contributionItemProvider to use, and remove the contribution of your choice.
Snippet: http://www.bonitasoft.org/websvn/filedetails.php?repname=Bonita+Open+Solution&path=%2Fbonita-studio%2Ftags%2Fbonita-studio-5.5%2Fplugins%2Forg.bonitasoft.studio.diagram.custom%2Fplugin.xml line 116.
Le 15/06/2011 16:52, Mickael Istria a écrit :
> You can try to use the org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders extension point.
> Le 15/06/2011 13:48, Lior a écrit :
>> Hello people,
>> How can I remove the 'Duplicate' item that is under the 'Edit' context menu item? (when right clicking a diagram element for example..)
>> I've looked all over and couldn't find a way (a solution similar to removing copy/paste items didn't work..)
>> Thanks a lot
Mickael Istria -- BonitaSoft S.A.
Eclipse Community Award 2011: Best Modeling Tool
Powered by FUDForum
. Page generated in 0.01812 seconds