Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Editor & CommandStack
Editor & CommandStack [message #323925] Sun, 13 January 2008 06:34 Go to next message
Eclipse UserFriend
Hello,

is it mandatory to have CommandStack for each editor?
How to determine if editor supports undo/redo support?

BR,
Jan
Re: Editor & CommandStack [message #323926 is a reply to message #323925] Sun, 13 January 2008 07:54 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jan,

CommandStack is the name of an interface used in EMF. Is that what your
question is about? You could certainly have an editor that doesn't
support undo, but that generally makes users unhappy. There isn't any
general way that an editor declares that it has undo and redo support.
Editors generally register to handle these actions if they support them
and if they don't do that, the actions are typically disabled. Maybe
you want to clarify your question a bit and if it's EMF or GMF specific
I'd suggest using the more specific newsgroup...


Jan wrote:
> Hello,
>
> is it mandatory to have CommandStack for each editor?
> How to determine if editor supports undo/redo support?
>
> BR,
> Jan
>
>
>
Previous Topic:Programmatic enablement of declarative actions
Next Topic:Cell editing in TreeViewer in 3.3
Goto Forum:
  


Current Time: Wed Jul 16 19:52:41 EDT 2025

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

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

Back to the top