[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Hide 'Input methods' in Context Menu
|
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.contributionItemProviders">
<?gmfgen generated="false"?>
<contributionItemProvider
class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContributionItemProvider"
checkPluginLoaded="false">
<Priority name="Low"/>
<popupContribution
class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContextMenuProvider">
<popupStructuredContributionCriteria
objectClass="com.isoco.iwf.designer.bpmn.diagram.edit.parts.DiagramEditPart"/
>
<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