diff options
author | spingel | 2009-08-27 00:32:33 +0000 |
---|---|---|
committer | spingel | 2009-08-27 00:32:33 +0000 |
commit | 225b1dec3ec9231bf825c35ce17d189f64f892ac (patch) | |
tree | c9a7e77e1d6821bfa4881483a5395edc0658a07a /org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java | |
parent | ae16151e6d5a84e047b5050bead92f707a87586b (diff) | |
download | org.eclipse.mylyn.tasks-225b1dec3ec9231bf825c35ce17d189f64f892ac.tar.gz org.eclipse.mylyn.tasks-225b1dec3ec9231bf825c35ce17d189f64f892ac.tar.xz org.eclipse.mylyn.tasks-225b1dec3ec9231bf825c35ce17d189f64f892ac.zip |
NEW - bug 284500: task activation via task list is not captured in monitor log
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284500
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java')
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java index 5a077d077..f0b56c8ca 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java @@ -1159,9 +1159,6 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe public void init(IEditorSite site, IEditorInput input) { super.init(site, input); - // XXX consider propagating selection events to site selection provider instead to avoid conflicts with other pages - site.setSelectionProvider(this); - TaskEditorInput taskEditorInput = (TaskEditorInput) input; this.task = taskEditorInput.getTask(); this.defaultSelection = new StructuredSelection(task); @@ -1391,6 +1388,7 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe if (!selection.equals(lastSelection)) { this.lastSelection = selection; fireSelectionChanged(lastSelection); + getSite().getSelectionProvider().setSelection(selection); } } |