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

This proposal isn't acceptable for EMF. EMF's common commands are UI
independent - they can't have a dependency on JFace. The proposed API is
also not sufficient.

Frank.




                                                                                                                                          
                      Randy                                                                                                               
                      Hudson/Raleigh/IBM@IBM        To:       platform-ui-dev@xxxxxxxxxxx                                                 
                      US                            cc:                                                                                   
                      Sent by:                      Subject:  [platform-ui-dev] Proposal for CommandStack in JFace                        
                      platform-ui-dev-admin@                                                                                              
                      eclipse.org                                                                                                         
                                                                                                                                          
                                                                                                                                          
                      01/03/2003 06:11 PM                                                                                                 
                      Please respond to                                                                                                   
                      platform-ui-dev                                                                                                     
                                                                                                                                          
                                                                                                                                          





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 04 2003
by Frank Budinsky




Back to the top