|Get ride of "Input methods" menu in ContextMenu [message #486058]
||Wed, 16 September 2009 06:59
Registered: July 2009
Working in a DiagramEditor and showing the ContextMenu for any EditPart, I |
have always seen the following menu in the ContextMenu: InputMethods. I
would like to get ride of this but I dont know how.
I tried two ways but none of them worked out. First one, as I made with
some other options:
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider ">
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">
<popupPredefinedItem id="navigateGroup" remove="true"/>
<popupPredefinedItem id="addGroup" remove="true"/>
But I dont know which ID should I use in case I can follow this method.
Second way, I have my own DiagramContextMenuProvider class, in the
buildContextMenu() method I look at every IContributionItem contributed
but the Input Methods menu doesn't appear.
Any help would be appreciated!
Thanks in advance.
Powered by FUDForum
. Page generated in 0.01499 seconds