Paul Webster (IBM )
Making with Eclipse · Standard
Wednesday, 10:40, 20 minutes | Lafayette
The Command Framework has much more flexibility for providing plugin developers with appropriate behaviour depending on when they want it. Menu Contributions allow commands to be placed in menus and toolbars, source providers enhance the application state available to the command framework Evaluation Service, and services help scope the interactions between the client code and the workbench.
In this talk we will cover:
- The relationship between commands, handlers, and menu contributions
- Examples of how handlers are written
- How to contribute new variables to make new application state available
- Patterns for similar behaviour to legacy action extensions using core expressions and activeWhen, enabledWhen, and visibleWhen
Examples can be found at https://github.com/paulweb515/commandsEclipseCon2011
Paul Webster received a B.A.Sc. in Computer Engineering from the University of Waterloo in 1994. After years working on telephony software and network configuration software in Java and C++, Paul joined the IBM Eclipse Platform UI team in May 2005 and is currently working for IBM Rational Software. Paul is working on the e4 framework and builds, as well as being responsible for command and handlers, keybindings, and menu contributions.