Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java')
-rw-r--r--examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java23
1 files changed, 21 insertions, 2 deletions
diff --git a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
index 39ad8abed..7833a5a79 100644
--- a/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
+++ b/examples/org.eclipse.team.examples.filesystem/src/org/eclipse/team/examples/localhistory/LocalHistorySubscriber.java
@@ -10,9 +10,15 @@
*******************************************************************************/
package org.eclipse.team.examples.localhistory;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
-import org.eclipse.core.resources.*;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFileState;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.team.core.TeamException;
@@ -33,6 +39,9 @@ public class LocalHistorySubscriber extends Subscriber {
return "Local History Subscriber"; //$NON-NLS-1$
}
+ /**
+ * @param resource the resource being tested
+ */
public boolean isSupervised(IResource resource) {
// all resources in the workspace can potentially have resource history
return true;
@@ -78,6 +87,16 @@ public class LocalHistorySubscriber extends Subscriber {
return comparator;
}
+ /**
+ * @param resources
+ * the resources to refresh
+ * @param depth
+ * the depth
+ * @param monitor
+ * progress monitor, or <code>null</code> if progress reporting
+ * and cancellation are not desired
+ */
public void refresh(IResource[] resources, int depth, IProgressMonitor monitor) {
+ // do nothing
}
}

Back to the top