Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Undoable property entry and stack actions
Undoable property entry and stack actions [message #135828] Wed, 02 June 2004 19:52
Eclipse UserFriend
Originally posted by: cwhite.ic.net

Has anyone come up with a clever way of enabling the Undo/Redo targetable
actions when changes are made to a GEF model object using the property sheet
without needing to make the editor part active?

I noticed that undo/redo actions are enabled with the correct commands when
I make my editor the active workbench part after editing with the property
sheet. I noticed that the GEF examples exhibit this same behavior.

I have tried a number of approaches including subclassing PropertySheet and
adding some retargetable actions. I just can't figure out how to make the
PropertySheet listen for changes to the edtor's command stack (even though
the property entires are) so that I can update the actions when the stack
changes.
Previous Topic:ConnectionEditPolicy: REQ_SOURCE_DELETED
Next Topic:Reparenting child figures to children from contentPane
Goto Forum:
  


Current Time: Sat Apr 27 05:23:35 GMT 2024

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

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

Back to the top