Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Contributing my own "SAVE" Action
Contributing my own "SAVE" Action [message #672203] Fri, 20 May 2011 06:20 Go to next message
Eclipse UserFriend
Hi all,

in my GMF Editor I'm able to contribute my own CUT/COPY/PASTE/DELETE Action, contributed by Global Action Handler Providers Extension Point; so in my [XYZ]DiagramGlobalActionHandler the getCommand method gets called every time I press CTRL+X, CTRL+C, CTRL+V and so on. This is not true for SAVE action: if I press CTRL+S my ActionHandler never gets called....someone knows why?

Thanks,

Giovanni
Re: Contributing my own "SAVE" Action [message #672218 is a reply to message #672203] Fri, 20 May 2011 07:11 Go to previous message
Eclipse UserFriend
Maybe this is the answer (http://wiki.eclipse.org/FAQ_How_do_I_enable_the_Save_and_Revert_actions%3F):

"Unlike most actions that are defined within an instance of IAction, the editor Save and Save As... actions are built directly into the editor part. These actions are always enabled when the editor is in a dirty state."
Previous Topic:Problem with nodes affixed to an ellipse
Next Topic:refrash underlying diagrammodel
Goto Forum:
  


Current Time: Tue Jul 01 19:17:29 EDT 2025

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

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

Back to the top