Gold sponsors

IBM Corporation

Jasmine Conseil logo

Cloudsoft logo

Sonatype logo

SAP logo

Xored logo

Oracle

Amazon logo

Silver sponsors

Blackberry logo

ZeroTurnaround logo

Amazon Web Services logo

bsi logo

OnPositive logo

Google

Nuxeo logo

Actuate

Bronze sponsors

github

froglogic

Microsoft logo

Paremus logo

JBoss logo

Genuitec logo

Juniper logo

Soyatec logo

itemis logo

Totvs logo

AccuRev logo

Activity sponsor

eclipsesource

Media sponsors

Methods & Tools logo


Commands in Eclipse 3.x: the 10 most common patterns

Paul Webster (IBM )

Making with Eclipse · Standard
Wednesday, 10:40, 20 minutes | Lafayette

Tags:
7
·
8
·
9
·
10
·
11
·
12
·
13
·
14
·
15
·
16
·
17
·
18

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.

Download Material

Download file of related material.