Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-09-02 16:22:49 -0400
committerMichael Valenta2003-09-02 16:22:49 -0400
commit764e7c7d9e44b179cf0bbcacb9b38f22045d01d5 (patch)
treec9ee45f02d21242f2e531b0e7f0b867336dd5e47
parent811770c1570d51fae49e000ca53d4180cd5970c4 (diff)
downloadeclipse.platform.team-764e7c7d9e44b179cf0bbcacb9b38f22045d01d5.tar.gz
eclipse.platform.team-764e7c7d9e44b179cf0bbcacb9b38f22045d01d5.tar.xz
eclipse.platform.team-764e7c7d9e44b179cf0bbcacb9b38f22045d01d5.zip
Updated comment
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/InfiniteSubProgressMonitor.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/InfiniteSubProgressMonitor.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/InfiniteSubProgressMonitor.java
index 26c1101de..2f6baacdc 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/InfiniteSubProgressMonitor.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/InfiniteSubProgressMonitor.java
@@ -17,8 +17,10 @@ import org.eclipse.core.runtime.SubProgressMonitor;
/**
* Provides an infinite progress monitor by subdividing by half repeatedly.
*
- * The totalWork parameter represents the number of ticks shown in the progress dialog.
- * However, the number of totalWork that can actually be worked is n*totalWork/2 where
+ * The ticks parameter represents the number of ticks shown in the progress dialog
+ * (or propogated up to a parent IProgressMonitor). The totalWork parameter provided
+ * in actually a hint used to determine how work is translated into ticks.
+ * The number of totalWork that can actually be worked is n*totalWork/2 where
* 2^n = totalWork. What this means is that if you provide a totalWork of 32 (2^5) than
* the maximum number of ticks is 5*32/2 = 80.
*

Back to the top