|
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 |
Eclipse User |
|
|
|
Originally posted by: michael.wohlfart.proceedinnovation.com
Hello!
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
"org.eclipse.gmf.runtime.diagram.ui.providers"
The according implementation of the ContributionItemProvider is done by
the class
" 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
tip ;-)
Greetings,
Michael
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!
>
> Thanks
> Toyin
>
|
|
|
Powered by
FUDForum. Page generated in 0.03081 seconds