Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] Use the Command framework rather than Action to implements action, menus, toolbar, contextual menu, ...

Hi all,

Actually, we use a mix of several frameworks to implements menus, contextual menus, toolbar, coolbar, ...
The Eclipse latest way of doing that seem to be the Command framework.
http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/guide/workbench_cmd.htm

The following page give a good starting point to learn more about this framework:
http://wiki.eclipse.org/index.php/Platform_Command_Framework

The Command framework allows easy implementation of extendable menus, popup, toolbar, and allows reuse of Commands. So I propose to use this framework and to not use others old framework anymore in Papyrus.

I have opened a bug for that (https://bugs.eclipse.org/bugs/show_bug.cgi?id=309958).
Please feel free to comment ....

Cedric



Back to the top