Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sudol2014-03-03 11:17:37 +0000
committerPaul Webster2014-03-03 15:44:05 +0000
commit7f165e814eb09f295f449362beb5f4e80ad47f52 (patch)
tree6ba35e2223abf05ac39708f5bb4db88558e66fb6 /bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java
parentc88f1112a3569cf9232a90fac548c58af269a5a2 (diff)
downloadeclipse.platform.ui-7f165e814eb09f295f449362beb5f4e80ad47f52.tar.gz
eclipse.platform.ui-7f165e814eb09f295f449362beb5f4e80ad47f52.tar.xz
eclipse.platform.ui-7f165e814eb09f295f449362beb5f4e80ad47f52.zip
Bug 401655 - [Progress] Create e4 based Progress View
Refactor the workbench Progress view to run on Eclipse4. Includes: - Progress support - Eclipse4 ProgressView - progress toolbar - replaces 3.x services with their 4.x equivalents - progress view preferences dialog - example model fragments - explicit singletons replaced with dependency injection - general refactoring - remove dos line endings Change-Id: If30658d0150b9933165546629cfe17f94ee41caa Signed-off-by: Wojciech Sudol <wojciech.sudol@pl.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java')
-rw-r--r--bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java
new file mode 100644
index 00000000000..36f7c0b9b73
--- /dev/null
+++ b/bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/IJobBusyListener.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2003, 2006 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.e4.ui.progress.internal;
+
+import org.eclipse.core.runtime.jobs.Job;
+
+/**
+ * The IJobBusyListener is used to listen for running and
+ * terminating of jobs of a particular family.
+ */
+interface IJobBusyListener {
+
+ /**
+ * Increment the busy count for job.
+ * @param job
+ */
+ public void incrementBusy(Job job);
+
+ /**
+ * Decrement the busy count for job.
+ * @param job
+ */
+ public void decrementBusy(Job job);
+
+}

Back to the top