Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Need help to remove Undo/Redo actions from popup menu
Need help to remove Undo/Redo actions from popup menu [message #1062180] Thu, 06 June 2013 08:03
vincent lorenzo is currently offline vincent lorenzo
Messages: 39
Registered: June 2010
Member
Hello,
I would like to remove the Undo and the Redo actions from the Popup menu.

These actions are declared in the plugin.xml from org.clipse.gmf.runtime.diagram.ui.providers.

I tried to remove them using the GMF extension point, but it doesn't work.
(I already used this method for others actions and it worked fine)

any ideas?

my declaration in my plugin.xml

<extension
      point="org.eclipse.gmf.runtime.common.ui.services.action.contributionItemProviders">
   <contributionItemProvider
         checkPluginLoaded="false"
         class="org.eclipse.gmf.runtime.diagram.ui.providers.DiagramContributionItemProvider">
      <Priority
            name="High">
      </Priority>
      <popupContribution>
         <popupPredefinedItem
               id="undo"
               path="/editMenu/undoGroup"
               remove="true">
         </popupPredefinedItem>
         <popupPredefinedItem
               id="redo"
               path="/editMenu/undoGroup"
               remove="true">
         </popupPredefinedItem>
      </popupContribution>
   </contributionItemProvider>
</extension>
Previous Topic:Multipage Editor: Page for certain nodes
Next Topic:2 Label for node on Diagram
Goto Forum:
  


Current Time: Thu Jul 31 03:30:49 EDT 2014

Powered by FUDForum. Page generated in 0.01750 seconds