01: /*******************************************************************************
02: * Copyright (c) 2003, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM - Initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.progress;
11:
12: import org.eclipse.core.runtime.jobs.Job;
13:
14: /**
15: * The IJobBusyListener is used to listen for running and
16: * terminating of jobs of a particular family.
17: */
18: interface IJobBusyListener {
19:
20: /**
21: * Increment the busy count for job.
22: * @param job
23: */
24: public void incrementBusy(Job job);
25:
26: /**
27: * Decrement the busy count for job.
28: * @param job
29: */
30: public void decrementBusy(Job job);
31:
32: }
|