Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Proposal for CommandStack in JFace



Wouldn't the (new) org.eclipse.text plugin be a good location for this
functionality? Even though the packages still have 'jface' in the name,
they are actually UI independent and could be a pre-req of plugins that
didn't want to pull in UI related code. Right?

David




                                                                                                                                                
                      Nick_Edgar@xxxxxxxxxx                                                                                                     
                      Sent by:                      To:       platform-ui-dev@xxxxxxxxxxx                                                       
                      platform-ui-dev-admin@        cc:                                                                                         
                      eclipse.org                   Subject:  Re: [platform-ui-dev] Proposal for CommandStack in JFace                          
                                                                                                                                                
                                                                                                                                                
                      01/13/2003 11:47 AM                                                                                                       
                      Please respond to                                                                                                         
                      platform-ui-dev                                                                                                           
                                                                                                                                                
                                                                                                                                                




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


_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ui-dev





Back to the top