Skip to main content


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 12:03
Vincent Lorenzo is currently offline Vincent LorenzoFriend
Messages: 249
Registered: June 2010
Location: Paris Saclay, France
Senior 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: Fri Apr 26 23:01:08 GMT 2024

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

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

Back to the top