Skip to main content



      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
Eclipse UserFriend
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: Sun Jul 06 23:50:37 EDT 2025

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

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

Back to the top