Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Get ride of "Input methods" menu in ContextMenu
Get ride of "Input methods" menu in ContextMenu [message #486058] Wed, 16 September 2009 06:59
Javier is currently offline JavierFriend
Messages: 57
Registered: July 2009
Member
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:

<contributionItemProvider
checkPluginLoaded="false"

class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider ">

<Priority name="High"/>
<popupContribution
id="remove_popup_menu_id"

class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">

<popupStructuredContributionCriteria
objectClass="org.eclipse.gef.EditPart">
</popupStructuredContributionCriteria>

<popupPredefinedItem id="navigateGroup" remove="true"/>
<popupPredefinedItem id="addGroup" remove="true"/>
</popupContribution>
</contributionItemProvider>

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.
Previous Topic:To highlight an element on editor
Next Topic:Non-containment for a child reference
Goto Forum:
  


Current Time: Wed Sep 19 20:16:21 GMT 2018

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

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

Back to the top