Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Hide 'Input methods' in Context Menu
Hide 'Input methods' in Context Menu [message #216672] Thu, 29 January 2009 11:40
Eclipse UserFriend
Originally posted by: jxtamarc.gmail.com

Hello everyone,

I'm trying to hide the "Input Methods" item in the context menu. I've
managed to easily remove some other action groups from it but can't
achieve hiding this one, and it's quite annoying since that option is
totally useless for my application.

Here's the piece of code I'm manipulating and where I decide whether to
hide/show the items of the popup menu for the DiagramEditPart object.
It's a part of 'plugin.xml'.

...

<extension
point=" org.eclipse.gmf.runtime.common.ui.services.action.contributi onItemProviders ">
<?gmfgen generated="false"?>
<contributionItemProvider

class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContribu tionItemProvider "
checkPluginLoaded="false">
<Priority name="Low"/>
<popupContribution
class=" org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextM enuProvider ">
<popupStructuredContributionCriteria
objectClass=" com.isoco.iwf.designer.bpmn.diagram.edit.parts.DiagramEditPa rt "/
>
<popupPredefinedItem id="addGroup" remove="false"/>
<popupPredefinedItem id="navigateGroup" remove="true"/>
<popupPredefinedItem id="fileMenu" remove="false"/>
<popupPredefinedItem id="editMenu" remove="false"/>
<popupPredefinedItem id="selectMenu" remove="false"/>
<popupPredefinedItem id="toolbarArrangeAllAction"
remove="false"/>
<popupPredefinedItem id="filtersMenu" remove="true"/>
<popupPredefinedItem id="viewMenu" remove="false"/>
<popupPredefinedItem id="zoomContributionItem" remove="false"/
>
<popupPredefinedItem id="properties" remove="true"/>
<popupPredefinedItem id="showPropertiesViewAction"
remove="true"/>
</popupContribution>

...


So, my question is: is it possible to take the Input Methods group awat
from a context menu? how ? I don't know if there's a popupPredefinedItem
for this.


Thanks for your help.

Marc
Previous Topic:How to call own layoutProvider from "Arrange All"
Next Topic:A stubborn Cut + Paste problem
Goto Forum:
  


Current Time: Sun Mar 07 06:09:05 GMT 2021

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

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

Back to the top