[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
RE: [platform-ui-dev] Proposal for CommandStack in JFace
 | 
If you 
had to compare the Command implementation in GEF to UndoableEdit and friends in 
javax.swing.undo, what would you say are 
strengths/weaknesses?
 
I 
think the undo support in Swing is pretty good, although very few folks actually 
realize it's there...
 
-- 
Scott
==============================================================
Scott 
Stanchfield    scott@xxxxxxxxxxxx    http://javadude.com
Lead 
author of "Effective VisualAge for Java, Version 
3"
                                      
http://javadude.com/evaj
VisualAge for Java Tips and 
Tricks     http://javadude.com/vaj
AWT & Swing FAQ Manager, 
jGuru.com
Visit for Java 
Enlightenment!             
http://www.jguru.com
============================================================== 
  
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