Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-10-29 15:10:19 +0000
committerMichael Valenta2003-10-29 15:10:19 +0000
commit6084eab5e4d243504c119c0fb916d5166bf940db (patch)
tree63815175d19b08fd2ea863a26d7c2290b1fa72c6 /bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java
parent5548d27240161c099640278836d39ca16b2d88e2 (diff)
downloadeclipse.platform.team-6084eab5e4d243504c119c0fb916d5166bf940db.tar.gz
eclipse.platform.team-6084eab5e4d243504c119c0fb916d5166bf940db.tar.xz
eclipse.platform.team-6084eab5e4d243504c119c0fb916d5166bf940db.zip
43559: [Decorators] cause flashing in back ground build
Diffstat (limited to 'bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java')
-rw-r--r--bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java18
1 files changed, 12 insertions, 6 deletions
diff --git a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java
index ad71ba405..3b25d5e1a 100644
--- a/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java
+++ b/bundles/org.eclipse.team.cvs.core/src/org/eclipse/team/internal/ccvs/core/resources/FileModificationManager.java
@@ -45,7 +45,7 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa
private static final QualifiedName UPDATE_TIMESTAMP = new QualifiedName(CVSProviderPlugin.ID, "update-timestamp"); //$NON-NLS-1$
- private Set modifiedResources = new HashSet();
+ /* private */Set modifiedResources = new HashSet();
// consider the following changes types and ignore the others (e.g. marker and description changes are ignored)
protected int INTERESTING_CHANGES = IResourceDelta.CONTENT |
@@ -127,21 +127,25 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa
* @see org.eclipse.core.resources.ISaveParticipant#doneSaving(org.eclipse.core.resources.ISaveContext)
*/
public void doneSaving(ISaveContext context) {
+ // Do nothing
}
/**
* @see org.eclipse.core.resources.ISaveParticipant#prepareToSave(org.eclipse.core.resources.ISaveContext)
*/
- public void prepareToSave(ISaveContext context) throws CoreException {
+ public void prepareToSave(ISaveContext context) {
+ // Do nothing
}
/**
* @see org.eclipse.core.resources.ISaveParticipant#rollback(org.eclipse.core.resources.ISaveContext)
*/
public void rollback(ISaveContext context) {
+ // Do nothing
}
/**
* @see org.eclipse.core.resources.ISaveParticipant#saving(org.eclipse.core.resources.ISaveContext)
*/
- public void saving(ISaveContext context) throws CoreException {
+ public void saving(ISaveContext context) {
+ // Do nothing
}
@@ -169,12 +173,14 @@ public class FileModificationManager implements IResourceChangeListener, ISavePa
* Handle added and changed resources by signaling the change to the corresponding
* CVS resource and recording the change for broadcast to interested listeners.
*/
- private void resourceChanged(IResource resource, boolean addition) throws CoreException {
+ /* private */void resourceChanged(IResource resource, boolean addition) throws CoreException {
if (isCleanUpdate(resource)) return;
try {
EclipseResource cvsResource = (EclipseResource)CVSWorkspaceRoot.getCVSResourceFor(resource);
- cvsResource.handleModification(addition);
- modifiedResources.add(resource);
+ if (!cvsResource.isIgnored()) {
+ cvsResource.handleModification(addition);
+ modifiedResources.add(resource);
+ }
} catch (CVSException e) {
throw e.toCoreException();
}

Back to the top