Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.help.ui/doc/new.html7
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/TaskReportGenerator.java4
2 files changed, 5 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.help.ui/doc/new.html b/org.eclipse.mylyn.help.ui/doc/new.html
index ebc541909..ebab9b964 100644
--- a/org.eclipse.mylyn.help.ui/doc/new.html
+++ b/org.eclipse.mylyn.help.ui/doc/new.html
@@ -45,14 +45,13 @@ highlighted&nbsp; </span></p>
<p align="right"><b>Task Planner</b></p>
</td>
<td valign="top" width="70%">
- The Task Planner is still experimental, but the UI is becoming more
- usable and it is being used internally.&nbsp; Invoke it via File -&gt;
+ The Task Planner has been available for a while is still
+ experimental, but the UI has improved.&nbsp; Invoke it via File -&gt;
New -&gt; Other -&gt; Mylar Task Planner, specify the number of days, and
you will see a report of your past activity.&nbsp; You can drag
tasks from the task list into the plan (e.g. from a Bugzilla query),
and set their reminders and estimates.&nbsp; All tasks in the plan
- can be automatically added to a category.&nbsp;
- <p>
+ can be automatically added to a category.<p>
<img border="0" src="images/faq/taskist-planner.gif" width="603" height="407"></td>
</tr>
<tr>
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/TaskReportGenerator.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/TaskReportGenerator.java
index c0fab102e..82987d3c6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/TaskReportGenerator.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/planner/TaskReportGenerator.java
@@ -56,13 +56,12 @@ public class TaskReportGenerator implements IRunnableWithProgress {
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
List<ITask> roots = tasklist.getRootTasks();
- monitor.beginTask("Mylar Task Planner", 1 + tasklist.getCategories().size());
+ monitor.beginTask("Mylar Task Planner", tasklist.getRoots().size() * (1+tasklist.getCategories().size())); //
for(int i = 0; i < roots.size(); i++) {
ITask task = (ITask) roots.get(i);
for (ITaskCollector collector : collectors) {
collector.consumeTask(task);
}
- monitor.worked(1);
}
for (TaskCategory cat : tasklist.getTaskCategories()) {
List<? extends ITaskListElement> sub = cat.getChildren();
@@ -71,6 +70,7 @@ public class TaskReportGenerator implements IRunnableWithProgress {
ITask element = (ITask) sub.get(j);
for (ITaskCollector collector : collectors) {
collector.consumeTask(element);
+ monitor.worked(1);
}
}
}

Back to the top