Gold sponsors

IBM Corporation

SAP logo

Sonatype logo

Xored logo

Jasmine Conseil logo

Amazon logo

Oracle

Cloudsoft logo

Silver sponsors

Amazon Web Services logo

bsi logo

Blackberry logo

Nuxeo logo

ZeroTurnaround logo

Google

OnPositive logo

Actuate

Bronze sponsors

JBoss logo

Juniper logo

Totvs logo

Soyatec logo

Genuitec logo

github

itemis logo

AccuRev logo

Paremus logo

Microsoft logo

froglogic

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

Paul Webster

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.