O'Reilly logo

Eclipse 4 Plug-in Development by Example Beginner's Guide by Dr. Alex Blewitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – setting job properties

It is possible to associate arbitrary properties with a Job, which can be used to present its progress in different ways. For example, by specifying a command it's possible to click on a running Job and then execute something in the user interface, such as a detailed job description. Job properties are set with setProperty(), and can include any key/value combination. The keys use a QualifiedName, which is like a pair of strings for namespace/value. In the case of the Progress view, there is an IProgressConstants2 interface, which defines values that can be set, including COMMAND_PROPERTY, which can be used to invoke a command.

  1. Open the HelloHandler and go to the end of the execute() method. Just before ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required