Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Eclipse Job API in RCP - Tutorial

Lars Vogel

Version 0.3

16.08.2009

Revision History
Revision 0.112.07.2009Lars Vogel
Created
Revision 0.215.07.2009Lars Vogel
Updated resources
Revision 0.316.08.2009Lars Vogel
Progress Report

Eclipse Jobs

This article describes how to use the Job API in Eclipse RCP for asynchronous tasks.


Table of Contents

1. Overview
2. Example
3. Progress report
4. Thank you
5. Questions and Discussion
6. Links and Literature
6.1. Eclipse Jobs resources
6.2. Source Code
6.3. vogella Resources

1. Overview

The Eclipse Jobs API provides background capabilities to Eclipse with can also be used in Eclipse RCP.

The important parts of the Job API are:

  • JobManager - Schedules the jobs

  • Job - The individual task to perform

  • IProgresMonitor - UI for Job information

Using the Jobs API in Eclipse RCP is the same as in Eclipse plug-in development therefore I just give a small example. Check the appendix for a general introduction to the Eclipse Jobs API.