call super.dispose() last to avoid any widget disposed errors
diff --git a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/contentoutline/ConfigurableContentOutlinePage.java b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/contentoutline/ConfigurableContentOutlinePage.java
index 2f1874c..fbb1466 100644
--- a/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/contentoutline/ConfigurableContentOutlinePage.java
+++ b/bundles/org.eclipse.wst.sse.ui/src/org/eclipse/wst/sse/ui/internal/contentoutline/ConfigurableContentOutlinePage.java
@@ -153,7 +153,7 @@
* have focus.
*/
ISelection validContentSelection = getConfiguration().getSelection(getTreeViewer(), selection);
- getTreeViewer().refresh(true);
+// getTreeViewer().refresh(true);
boolean isLinked = getConfiguration().isLinkedWithEditor(getTreeViewer());
if (isLinked) {
getTreeViewer().setSelection(validContentSelection, true);
@@ -383,7 +383,6 @@
}
public void dispose() {
- super.dispose();
getSite().getWorkbenchWindow().getSelectionService().removePostSelectionListener(getSelectionServiceListener());
if (fDoubleClickProvider != null) {
getTreeViewer().removeDoubleClickListener(fDoubleClickProvider);
@@ -399,6 +398,7 @@
fContextMenuManager.dispose();
}
setConfiguration(NULL_CONFIGURATION);
+ super.dispose();
}
/*