Hide 'Input methods' in Context Menu [message #216672] |
Thu, 29 January 2009 11:40 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03380 seconds