Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2003-08-11 20:21:51 +0000
committerJean Michel-Lemieux2003-08-11 20:21:51 +0000
commitd911b2056524d5dcfea075cb53d5be0fe805d7dd (patch)
treeba66e3d38076c982e5df65e141450e6803c9c6ab
parent4b976c02c52d9587b8e9bfbc815cd04b083a6c09 (diff)
downloadeclipse.platform.team-d911b2056524d5dcfea075cb53d5be0fe805d7dd.tar.gz
eclipse.platform.team-d911b2056524d5dcfea075cb53d5be0fe805d7dd.tar.xz
eclipse.platform.team-d911b2056524d5dcfea075cb53d5be0fe805d7dd.zip
adapting to job API change to scheduling rulesI20030812
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/BatchSimilarSchedulingRule.java3
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/jobs/RefreshSubscriberJob.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/BatchSimilarSchedulingRule.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/BatchSimilarSchedulingRule.java
index 4840f451c..9a461b979 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/BatchSimilarSchedulingRule.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/model/BatchSimilarSchedulingRule.java
@@ -27,4 +27,7 @@ public class BatchSimilarSchedulingRule implements ISchedulingRule {
}
return false;
}
+ public boolean contains(ISchedulingRule rule) {
+ return isConflicting(rule);
+ }
} \ No newline at end of file
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/jobs/RefreshSubscriberJob.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/jobs/RefreshSubscriberJob.java
index 2b3039668..3bd8ae8a4 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/jobs/RefreshSubscriberJob.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/jobs/RefreshSubscriberJob.java
@@ -75,6 +75,9 @@ public class RefreshSubscriberJob extends Job {
}
return false;
}
+ public boolean contains(ISchedulingRule rule) {
+ return isConflicting(rule);
+ }
}
public RefreshSubscriberJob(String name, IResource[] resources, TeamSubscriber subscriber) {

Back to the top