- Simple command with a default handler and a simple menu contribution for it.
- Providing static parameters to commands.
- Specifying a toggle state for a command.
- Specifying a radio state for a command.
- A pulldown command with sub-menu items.
- Dynamic menu contribution.
- Using "activeMenuSelection" in an expression.
- Adding a control to a toolbar - not sure if we've done this but I've seen it.
- PropertyTester.
- Calling Command Framework API, e.g. programmatic invocation.
Wednesday, March 23, 2011
Commands in Eclipse 3.x: the 10 most common patterns
A description of the different ways of using the Command Framework in Eclipse 3.x. I think our group has used them all and I believe we've done so properly. They are:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment