KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > progress > IJobBusyListener


1 /*******************************************************************************
2  * Copyright (c) 2003, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM - Initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.ui.internal.progress;
13
14 import org.eclipse.core.runtime.jobs.Job;
15
16 /**
17  * The IJobBusyListener is used to listen for running and
18  * terminating of jobs of a particular family.
19  */

20 interface IJobBusyListener {
21
22     /**
23      * Increment the busy count for job.
24      * @param job
25      */

26     public void incrementBusy(Job job);
27
28     /**
29      * Decrement the busy count for job.
30      * @param job
31      */

32     public void decrementBusy(Job job);
33
34 }
35
Popular Tags