[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] Proposal for CommandStack in JFace
|
Randy,
I am sympathetic to having a shared Undo/Redo facility, whether at the
Workbench level, JFace level, or below (we don't currently have a good
place to put this below JFace though).
It would also be beneficial to have some support at the Workbench level,
so that coupling of command stacks with the Undo and Redo global actions
could be simplified.
I've asked the Platform-Text and JDT-UI component owners to look at your
Command framework to see whether it would meet their needs, since they are
currently the main implementors of interesting undo/redo commands in the
current SDK.
Nick
Randy Hudson/Raleigh/IBM@IBMUS
Sent by: platform-ui-dev-admin@xxxxxxxxxxx
01/03/03 06:11 PM
Please respond to platform-ui-dev
To: platform-ui-dev@xxxxxxxxxxx
cc:
Subject: [platform-ui-dev] Proposal for CommandStack in JFace
GEF provides a Command and CommandStack implementation. This should be
moved into JFace (which was proposed _too_ late during the 2.0
developement cycle).
Other technologies such as EMF [Edit] also require their own Command and
CommandStack. We have both invented the wheel. When plugins combine GEF
and EMF, it becomes difficult to deal with multiple definitions of the
same concept/classes.
Attached is a proposal for a Command and CommandStack implementation.
Moving them into JFace will simplify future WSAD releases as well as the
work of others who are combining the "Tools" plugins mentioned above.
We are considering one more feature for the CommandStack (the ability to
append to an executing command), but the code itself it pretty simple and
stable ;-)
-Randy
#### JFaceCommands.jar has been removed from this note on January 13, 2003
by Nick Edgar