Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2003-12-10 22:02:07 +0000
committerJean Michel-Lemieux2003-12-10 22:02:07 +0000
commit7c1110a9343d35a1b2ca3043806af68b0ddba737 (patch)
tree96b45ff32829b3ea99923272962e8068e72ec7d9
parent6fba748d1a224acfbee5700ac0260268e485cdd6 (diff)
downloadeclipse.platform.team-7c1110a9343d35a1b2ca3043806af68b0ddba737.tar.gz
eclipse.platform.team-7c1110a9343d35a1b2ca3043806af68b0ddba737.tar.xz
eclipse.platform.team-7c1110a9343d35a1b2ca3043806af68b0ddba737.zip
Removed linking of computer speed preference to CVS operations running in the background.
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java9
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java4
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/operations/CVSOperation.java2
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSSubscriberAction.java3
4 files changed, 3 insertions, 15 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java
index b8e454ba7..aa4914645 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSUIPlugin.java
@@ -721,15 +721,6 @@ public class CVSUIPlugin extends AbstractUIPlugin {
}
/**
- * Returns the system speed setting. This is mainly used to determine to enable/disable
- * certain CVS features.
- * @since 3.0
- */
- public static int getPlatformPerformance() {
- return Platform.getPlugin(Platform.PI_RUNTIME).getPluginPreferences().getInt(Platform.PREF_PLATFORM_PERFORMANCE);
- }
-
- /**
* This is a convenience method to show the CVS workspace subscriber in the sync view.
* The working set of the workspace participant will be set to the provided working set
* and the provided resources will be refreshed.
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
index 325001d37..33cd6af39 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/RemoteContentProvider.java
@@ -40,9 +40,7 @@ public class RemoteContentProvider extends WorkbenchContentProvider {
*/
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
if (viewer instanceof AbstractTreeViewer) {
- if(CVSUIPlugin.getPlatformPerformance() != Platform.MIN_PERFORMANCE) {
- manager = new DeferredTreeContentManager(this, (AbstractTreeViewer) viewer);
- }
+ manager = new DeferredTreeContentManager(this, (AbstractTreeViewer) viewer);
}
super.inputChanged(viewer, oldInput, newInput);
}
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 470432a87..771938134 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
@@ -81,7 +81,7 @@ public abstract class CVSOperation implements IRunnableWithProgress {
}
protected boolean areJobsEnabled() {
- return CVSUIPlugin.getPlatformPerformance() != Platform.MIN_PERFORMANCE;
+ return true;
}
/**
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSSubscriberAction.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSSubscriberAction.java
index cf4cea2f7..9bf9f81bd 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSSubscriberAction.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/subscriber/CVSSubscriberAction.java
@@ -168,8 +168,7 @@ public abstract class CVSSubscriberAction extends SubscriberAction {
}
protected boolean areJobsEnabled() {
- int speed = CVSUIPlugin.getPlatformPerformance();
- return speed != Platform.MIN_PERFORMANCE;
+ return true;
}
/**

Back to the top