Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java
index f0e43adcd..7df5629c2 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/diff/IDiffTree.java
@@ -17,7 +17,7 @@ import org.eclipse.core.runtime.*;
* efficiency reasons, the tree only provides diffs for paths that represent a
* change. Paths that do not contain a diff represent but are returned from the
* tree will contain child paths in the set.
- *
+ *
* @see org.eclipse.team.core.diff.provider.DiffTree
* @since 3.2
* @noimplement This interface is not intended to be implemented by clients.
@@ -25,12 +25,12 @@ import org.eclipse.core.runtime.*;
* {@link org.eclipse.team.core.diff.provider.DiffTree} instead.
*/
public interface IDiffTree {
-
+
/**
* Property constant used to indicate that a particular path may be involved in an operation.
*/
public static final int P_BUSY_HINT = 1;
-
+
/**
* Property constant used to indicate that a particular path has descendants that are conflicts.
*/
@@ -40,7 +40,7 @@ public interface IDiffTree {
* Add a listener to the tree. The listener will be informed of any changes
* in the tree. Registering a listener that is already registered will have
* no effects.
- *
+ *
* @param listener the listener to be added
*/
public void addDiffChangeListener(IDiffChangeListener listener);
@@ -48,7 +48,7 @@ public interface IDiffTree {
/**
* Remove the listener from the tree. Removing a listener that is not
* registered has no effect.
- *
+ *
* @param listener the listener to be removed
*/
public void removeDiffChangeListener(IDiffChangeListener listener);
@@ -59,7 +59,7 @@ public interface IDiffTree {
* The visitor's <code>visit</code> method is called with the given delta
* if applicable. If the visitor returns <code>true</code>, any of the
* delta's children in this tree are also visited.
- *
+ *
* @param path the path to start the visit in the tree
* @param visitor the visitor
* @param depth the depth to visit
@@ -76,7 +76,7 @@ public interface IDiffTree {
* This method only returns a delta if there is a change at the given
* path. To know if there are deltas in descendent paths, clients
* should class {@link #getChildren(IPath) }.
- *
+ *
* @param path the path of the desired delta
* @return the delta, or <code>null</code> if no such
* delta exists
@@ -88,7 +88,7 @@ public interface IDiffTree {
* a sync delta or have a descendant path that points to a sync delta.
* Returns an empty array if there are no sync deltas that are descendents
* of the given path.
- *
+ *
* @return the child paths of the given path that either point to
* a sync delta or have a descendant path that points to a sync delta
*/
@@ -99,13 +99,13 @@ public interface IDiffTree {
* @return the number of diffs contained in the tree
*/
public int size();
-
+
/**
* Return whether the set is empty.
* @return whether the set is empty
*/
public boolean isEmpty();
-
+
/**
* Return the number of out-of-sync elements in the given set whose synchronization
* state matches the given mask. A state of 0 assumes a count of all changes.
@@ -121,15 +121,15 @@ public interface IDiffTree {
* @return the number of matching resources in the set.
*/
public long countFor(int state, int mask);
-
+
/**
* Set the given diff nodes and all their parents to busy
* @param diffs the busy diffs
- * @param monitor a progress monitor or <code>null</code> if progress indication
+ * @param monitor a progress monitor or <code>null</code> if progress indication
* is not required
*/
public void setBusy(IDiff[] diffs, IProgressMonitor monitor);
-
+
/**
* Return the value of the property for the given path.
* @param path the path
@@ -138,14 +138,14 @@ public interface IDiffTree {
*/
public boolean getProperty(IPath path, int property);
-
+
/**
* Clear all busy properties in this tree.
- * @param monitor a progress monitor or <code>null</code> if progress indication
+ * @param monitor a progress monitor or <code>null</code> if progress indication
* is not required
*/
public void clearBusy(IProgressMonitor monitor);
-
+
/**
* Return whether the this diff tree contains any diffs that match the given filter
* at of below the given path.

Back to the top