Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-09-11 15:29:19 +0000
committerMichael Valenta2003-09-11 15:29:19 +0000
commitb4f1727605b64f646a64da8b21381146f845d140 (patch)
tree4b683d27b537ab29263ba2ae1af79ccda38cbfd3
parentdff3a477b9720d117cce01f2260c8b258321e564 (diff)
downloadeclipse.platform.team-b4f1727605b64f646a64da8b21381146f845d140.tar.gz
eclipse.platform.team-b4f1727605b64f646a64da8b21381146f845d140.tar.xz
eclipse.platform.team-b4f1727605b64f646a64da8b21381146f845d140.zip
Change default for CVSOperations to run as a job.
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
index dc21851f4..f73de1e8d 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java
@@ -86,11 +86,13 @@ public abstract class CVSOperation implements IRunnableWithProgress {
}
/**
- * Returns true if the operation can be run as a background job
+ * Returns true if the operation can be run as a background job.
+ * The default is to support running as a job. Subclass should override
+ * to prevent background execution of the operation.
* @return whether operation can be run as a job
*/
public boolean canRunAsJob() {
- return false;
+ return true;
}
/**

Back to the top