Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Lost Undo/Redo Operation
Lost Undo/Redo Operation [message #593502] Wed, 16 May 2007 08:10
Philippe is currently offline PhilippeFriend
Messages: 100
Registered: July 2009
Senior Member
Hi,

I found another strange behavior to me.
Tell me what you think of it.

When performing a change on a diagram,
(any change will do so let's choose "Set Location or Size" for example)
the undo command is accessible on the edit menu.
So far, all is right.
But if I shift to another editor and then come back to my diagram editor
(still dirty from the previous change)
The "Set Location or Size" has disappear from the undo stack.
(Undo is disabled if we haven't done anything but editor shifting)

I believe that comes from the fact that gmf diagram editor uses its own
Command stack, and it is not so simple to integrate it well with the
Eclipse Command stack.

With further tries, I found that the stack isn't really lost because if
I make a second change, it appears on the edit Undo menu. and after
calling undo, the undo for the first change is reachable again.

So it seems that the gmf and the eclipse command stack are excluding
each others for getting access to the menu bar.
Any idea to merge them correctly or at least give back the menu when the
stack become empty ?

Best Regards
Philippe
Previous Topic:Re: Drawing UML diagrams in Eclipse
Next Topic:Lost Undo/Redo Operation
Goto Forum:
  


Current Time: Tue Mar 19 11:12:00 GMT 2024

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

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

Back to the top