|Re: where to disable the Duplicate button on the right-click menu [message #199681 is a reply to message #199665]
||Thu, 31 July 2008 14:16
Originally posted by: michael.wohlfart.proceedinnovation.com|
the duplicate action is contributed to the ContextMenu through the
" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProvider "
extension point in the gmf plugin
The according implementation of the ContributionItemProvider is done by
" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider ",
The ContextMenuProvider is
" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider "
both in the "org.eclipse.gmf.runtime.diagram.ui.providers".
I found this out by importing the gmf plugins as source projects into my
workspace. This is very helpful when you don't know some ids or
implementing classes, since you can debug into this code then.. (just a
Toyin Johnson Fakorede schrieb:
> Hi Everyone,
> I would like to disable or customize the duplicate button on the
> right-click menu. Does anybody know how to do this or know where to
> locate the class that is responsible for this 'duplicate' action? Please
> help me!
Powered by FUDForum
. Page generated in 0.07184 seconds