diff options
author | mkersten | 2005-12-07 21:53:13 +0000 |
---|---|---|
committer | mkersten | 2005-12-07 21:53:13 +0000 |
commit | 6ebb83783d70dcb0d82599685f6c944e715983a0 (patch) | |
tree | 2514277ab5e1d6bcd6a1839371b8eefea047f2d9 | |
parent | 68f3feaab48dfcae2eda1570bfc4b057d9b47be2 (diff) | |
download | org.eclipse.mylyn.tasks-6ebb83783d70dcb0d82599685f6c944e715983a0.tar.gz org.eclipse.mylyn.tasks-6ebb83783d70dcb0d82599685f6c944e715983a0.tar.xz org.eclipse.mylyn.tasks-6ebb83783d70dcb0d82599685f6c944e715983a0.zip |
Completed: Bug 119556: fix task list drag and drop
https://bugs.eclipse.org/bugs/show_bug.cgi?id=119556
-rw-r--r-- | org.eclipse.mylyn.help.ui/doc/new.html | 5 | ||||
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.help.ui/doc/new.html b/org.eclipse.mylyn.help.ui/doc/new.html index c85588161..7816ac777 100644 --- a/org.eclipse.mylyn.help.ui/doc/new.html +++ b/org.eclipse.mylyn.help.ui/doc/new.html @@ -25,7 +25,8 @@ highlighted </span></p> <p align="right"><b>Direct Manipulation of Task List</b></p> </td> <td valign="top" width="70%"> - better drag-and-drop in Task view...<p> </td> + better drag-and-drop in Task view... no more remove from category + action...<p> </td> </tr> <tr> <td colspan="2"> @@ -44,7 +45,7 @@ highlighted </span></p> fast mode the tooltip and contents description will be updated accordingly. If it is not in fast mode only the view tooltip will be updated so that the additional content description line (see search - results view) does not appear on the task list.<p> </td> + results view) does not appear on the task list...<p> </td> </tr> <tr> <td colspan="2"> diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java index eb876a321..545c336ad 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java @@ -240,13 +240,21 @@ public class TaskListView extends ViewPart { } public void tasklistRead() { - if (!getViewer().getControl().isDisposed()) getViewer().refresh(); + refresh(); } public void tasklistModified() { if (!getViewer().getControl().isDisposed()) getViewer().refresh(); } + private void refresh() { + if (getViewer().getControl() != null && !getViewer().getControl().isDisposed()) { + getViewer().getControl().setRedraw(false); + getViewer().refresh(); + getViewer().getControl().setRedraw(true); + } + } + }; private final class PriorityDropDownAction extends Action implements IMenuCreator { |