summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-04-27 11:39:55 (EDT)
committer Gerrit Code Review @ Eclipse.org2013-04-27 19:31:40 (EDT)
commit89d2f1d3bb383de8027d47bb0ae702d35e8241bc (patch)
treef6ef2abe41e53c1c8c49dae47f4a2d50cbb0fc7b
parent542c2a3ec5129854de11cfe9ae476b1b598c1078 (diff)
downloadorg.eclipse.mylyn.tasks-89d2f1d3bb383de8027d47bb0ae702d35e8241bc.zip
org.eclipse.mylyn.tasks-89d2f1d3bb383de8027d47bb0ae702d35e8241bc.tar.gz
org.eclipse.mylyn.tasks-89d2f1d3bb383de8027d47bb0ae702d35e8241bc.tar.bz2
406724: widget is disposed error on shutdownrefs/changes/82/12282/2
Change-Id: I461ada274ea5bd8db85ae641eef0839d936f414a Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=406724
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
index 8e708cc..f8428b6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListView.java
@@ -49,12 +49,10 @@ import org.eclipse.jface.viewers.IOpenListener;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeViewerListener;
import org.eclipse.jface.viewers.OpenEvent;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.viewers.TextCellEditor;
-import org.eclipse.jface.viewers.TreeExpansionEvent;
import org.eclipse.jface.viewers.TreePath;
import org.eclipse.jface.viewers.TreeSelection;
import org.eclipse.jface.viewers.TreeViewer;
@@ -928,25 +926,6 @@ public class TaskListView extends ViewPart implements IPropertyChangeListener, I
});
- getViewer().addTreeListener(new ITreeViewerListener() {
-
- public void treeCollapsed(final TreeExpansionEvent event) {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- getViewer().refresh(event.getElement());
- }
- });
- }
-
- public void treeExpanded(final TreeExpansionEvent event) {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- getViewer().refresh(event.getElement());
- }
- });
- }
- });
-
// update tooltip contents
getViewer().addSelectionChangedListener(new ISelectionChangedListener() {
public void selectionChanged(SelectionChangedEvent event) {