Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Weinand2004-05-27 12:59:11 -0400
committerAndre Weinand2004-05-27 12:59:11 -0400
commitaf61c7e86a1cfa12f70ef930399f4b1dcd52bb18 (patch)
treed0e65f37bb40609f001a34ffc476e8711725602b /examples
parent9e5cdf6383d12d0e05682c9bb8c074dc5ad373aa (diff)
downloadeclipse.platform.team-af61c7e86a1cfa12f70ef930399f4b1dcd52bb18.tar.gz
eclipse.platform.team-af61c7e86a1cfa12f70ef930399f4b1dcd52bb18.tar.xz
eclipse.platform.team-af61c7e86a1cfa12f70ef930399f4b1dcd52bb18.zip
remove reference to internal class TimeoutContextv20040527
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/XMLStructureViewer.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/XMLStructureViewer.java b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/XMLStructureViewer.java
index 6372ddbdf..1f5671388 100644
--- a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/XMLStructureViewer.java
+++ b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/XMLStructureViewer.java
@@ -20,7 +20,6 @@ import java.util.HashMap;
import org.eclipse.compare.CompareConfiguration;
import org.eclipse.compare.CompareViewerSwitchingPane;
import org.eclipse.compare.ITypedElement;
-import org.eclipse.compare.internal.TimeoutContext;
import org.eclipse.compare.structuremergeviewer.DiffNode;
import org.eclipse.compare.structuremergeviewer.ICompareInput;
import org.eclipse.compare.structuremergeviewer.IStructureComparator;
@@ -41,6 +40,7 @@ import org.eclipse.jface.viewers.ViewerSorter;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Tree;
+import org.eclipse.ui.PlatformUI;
/**
* An XML diff tree viewer that can be configured with a <code>IStructureCreator</code>
@@ -320,10 +320,8 @@ public class XMLStructureViewer extends StructureDiffViewer {
//TimeoutContext.run(true, TIMEOUT, getControl().getShell(), runnable);
if (left != null && right != null) {
try {
- TimeoutContext.run(
- true,
- 500,
- XMLPlugin.getActiveWorkbenchShell(),
+ PlatformUI.getWorkbench().getProgressService().run(true, true,
+ //TimeoutContext.run(true, 500, XMLPlugin.getActiveWorkbenchShell(),
getMatchingRunnable(
(XMLNode) left,
(XMLNode) right,

Back to the top