diff options
author | Lars Vogel | 2018-11-01 11:42:42 +0000 |
---|---|---|
committer | Lars Vogel | 2019-04-23 12:17:59 +0000 |
commit | 1834241fe498f4a889f7bdda7751e1ba7b1af84a (patch) | |
tree | 984acc9482f70d37115c102ee79bfe5c16cbbced | |
parent | a840833365652e6a2f37b6287af77969655ebb51 (diff) | |
download | rt.equinox.bundles-1834241fe498f4a889f7bdda7751e1ba7b1af84a.tar.gz rt.equinox.bundles-1834241fe498f4a889f7bdda7751e1ba7b1af84a.tar.xz rt.equinox.bundles-1834241fe498f4a889f7bdda7751e1ba7b1af84a.zip |
Bug 540688: Add toString method to SubMonitor
Change-Id: I2142780f1c45801be4b2fc7f51c980fd76008c54
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java index c4cfd42e1..d704e244b 100644 --- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java +++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java @@ -1041,4 +1041,10 @@ public final class SubMonitor implements IProgressMonitorWithBlocking { } RuntimeLog.log(new Status(IStatus.WARNING, "org.eclipse.core.runtime", message, new Throwable())); //$NON-NLS-1$ } + + @Override + public String toString() { + return "SubMonitor [totalParent=" + totalParent + ", usedForParent=" + usedForParent + ", usedForChildren=" + usedForChildren + ", totalForChildren=" + totalForChildren + ", beginTaskCalled=" + beginTaskCalled + "]"; + } + } |