Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-03-05 14:46:08 -0500
committerjames2002-03-05 14:46:08 -0500
commitc78daa1491d1d2ae21b5d6647d2ffae01f967332 (patch)
tree03bb78b4e97810262723fe2f7db73c52ef3d0443
parent907a84277121ad28f7d769389980be490f3a758d (diff)
downloadeclipse.platform.team-c78daa1491d1d2ae21b5d6647d2ffae01f967332.tar.gz
eclipse.platform.team-c78daa1491d1d2ae21b5d6647d2ffae01f967332.tar.xz
eclipse.platform.team-c78daa1491d1d2ae21b5d6647d2ffae01f967332.zip
9740: Ignored resources should not be decorated by CVS decorator
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecorationRunnable.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecorationRunnable.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecorationRunnable.java
index e930eea39..9dc4f12f3 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecorationRunnable.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSDecorationRunnable.java
@@ -97,7 +97,15 @@ public class CVSDecorationRunnable implements Runnable {
if(!resource.exists() || provider==null || !(provider instanceof CVSTeamProvider)) {
continue;
}
-
+
+ ICVSResource cvsResource;
+ if (resource.getType() == IResource.FILE) {
+ cvsResource = new LocalFile(resource.getLocation().toFile());
+ } else {
+ cvsResource = new LocalFolder(resource.getLocation().toFile());
+ }
+ if (cvsResource.isIgnored()) continue;
+
// determine a if resource has outgoing changes (e.g. is dirty).
IPreferenceStore store = CVSUIPlugin.getPlugin().getPreferenceStore();
boolean isDirty = false;

Back to the top