Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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

Attachment: JFaceCommands.jar
Description: Binary data


Back to the top