Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-10-27 12:52:06 -0400
committermkersten2005-10-27 12:52:06 -0400
commit8cf4d884882b38b1c5fe8305f873adbd5da35a99 (patch)
tree0d969ae27aa835e091f23311d1e9e93a96bd7ec9
parent6f3a07a2008cee0d42caf7e7ec8970146750cfb8 (diff)
downloadorg.eclipse.mylyn.tasks-8cf4d884882b38b1c5fe8305f873adbd5da35a99.tar.gz
org.eclipse.mylyn.tasks-8cf4d884882b38b1c5fe8305f873adbd5da35a99.tar.xz
org.eclipse.mylyn.tasks-8cf4d884882b38b1c5fe8305f873adbd5da35a99.zip
minor
-rw-r--r--org.eclipse.mylyn.help.ui/doc/new.html24
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/IDynamicSubMenuContributor.java (renamed from org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ITaskListDynamicSubMenuContributor.java)2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExtensionReader.java8
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/views/TaskListView.java5
5 files changed, 34 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.help.ui/doc/new.html b/org.eclipse.mylyn.help.ui/doc/new.html
index 901096ada..a078cff32 100644
--- a/org.eclipse.mylyn.help.ui/doc/new.html
+++ b/org.eclipse.mylyn.help.ui/doc/new.html
@@ -16,6 +16,30 @@ Submit feature requests to
<a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylar">Bugzilla</a>.</p>
<h3>Task context</h3>
+<table cellpadding="10" cellspacing="0" width="600" id="table69">
+ <tr>
+ <td width="30%" valign="top" align="left">
+ <p align="right"><b>Pause and resume context capture</b></p>
+ </td>
+ <td width="70%" valign="top">
+ <span style="background-color: #FFCC99">Context capture can be
+ temporarily paused...</span><p>
+ &nbsp;</td>
+ </tr>
+</table>
+
+<table cellpadding="10" cellspacing="0" width="600" id="table68">
+ <tr>
+ <td width="30%" valign="top" align="left">
+ <p align="right"><b>Task planner</b></p>
+ </td>
+ <td width="70%" valign="top">
+ <span style="background-color: #FFCC99">Summarizes activity and
+ supports planning...</span><p>
+ &nbsp;</td>
+ </tr>
+</table>
+
<table cellpadding="10" cellspacing="0" width="600" id="table67">
<tr>
<td width="30%" valign="top" align="left">
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ITaskListDynamicSubMenuContributor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/IDynamicSubMenuContributor.java
index 39e25ebbd..1e8549c10 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ITaskListDynamicSubMenuContributor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/IDynamicSubMenuContributor.java
@@ -13,7 +13,7 @@ package org.eclipse.mylar.tasklist;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.mylar.tasklist.ui.views.TaskListView;
-public interface ITaskListDynamicSubMenuContributor {
+public interface IDynamicSubMenuContributor {
public abstract MenuManager getSubMenuManager(TaskListView view,
ITaskListElement selection);
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
index 6592848a3..a62f57047 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java
@@ -432,13 +432,13 @@ public class MylarTasklistPlugin extends AbstractUIPlugin implements IStartup {
}
}
- private List<ITaskListDynamicSubMenuContributor> menuContributors = new ArrayList<ITaskListDynamicSubMenuContributor>();
+ private List<IDynamicSubMenuContributor> menuContributors = new ArrayList<IDynamicSubMenuContributor>();
- public List<ITaskListDynamicSubMenuContributor> getDynamicMenuContributers() {
+ public List<IDynamicSubMenuContributor> getDynamicMenuContributers() {
return menuContributors;
}
- public void addDynamicPopupContributor(ITaskListDynamicSubMenuContributor contributor) {
+ public void addDynamicPopupContributor(IDynamicSubMenuContributor contributor) {
menuContributors.add(contributor);
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExtensionReader.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExtensionReader.java
index 797e5f328..9dd6c9b47 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExtensionReader.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/internal/TaskListExtensionReader.java
@@ -22,7 +22,7 @@ import org.eclipse.mylar.core.MylarPlugin;
import org.eclipse.mylar.tasklist.IContextEditorFactory;
import org.eclipse.mylar.tasklist.ITaskActivationListener;
import org.eclipse.mylar.tasklist.ITaskHandler;
-import org.eclipse.mylar.tasklist.ITaskListDynamicSubMenuContributor;
+import org.eclipse.mylar.tasklist.IDynamicSubMenuContributor;
import org.eclipse.mylar.tasklist.ITaskListExternalizer;
import org.eclipse.mylar.tasklist.MylarTasklistPlugin;
@@ -111,10 +111,10 @@ public class TaskListExtensionReader {
private static void readDynamicPopupContributor(IConfigurationElement element) {
try{
Object dynamicPopupContributor = element.createExecutableExtension(DYNAMIC_POPUP_CLASS_ID);
- if (dynamicPopupContributor instanceof ITaskListDynamicSubMenuContributor) {
- MylarTasklistPlugin.getDefault().addDynamicPopupContributor((ITaskListDynamicSubMenuContributor) dynamicPopupContributor);
+ if (dynamicPopupContributor instanceof IDynamicSubMenuContributor) {
+ MylarTasklistPlugin.getDefault().addDynamicPopupContributor((IDynamicSubMenuContributor) dynamicPopupContributor);
} else {
- MylarPlugin.log("Could not load dyanmic popup menu: " + dynamicPopupContributor.getClass().getCanonicalName() + " must implement " + ITaskListDynamicSubMenuContributor.class.getCanonicalName(), thisReader);
+ MylarPlugin.log("Could not load dyanmic popup menu: " + dynamicPopupContributor.getClass().getCanonicalName() + " must implement " + IDynamicSubMenuContributor.class.getCanonicalName(), thisReader);
}
} catch (CoreException e){
MylarPlugin.log(e, "Could not load dynamic popup extension");
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 1ccd2157a..b7af8d273 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
@@ -53,7 +53,7 @@ import org.eclipse.mylar.tasklist.ITask;
import org.eclipse.mylar.tasklist.ITaskFilter;
import org.eclipse.mylar.tasklist.ITaskHandler;
import org.eclipse.mylar.tasklist.ITaskListCategory;
-import org.eclipse.mylar.tasklist.ITaskListDynamicSubMenuContributor;
+import org.eclipse.mylar.tasklist.IDynamicSubMenuContributor;
import org.eclipse.mylar.tasklist.ITaskListElement;
import org.eclipse.mylar.tasklist.MylarTasklistPlugin;
import org.eclipse.mylar.tasklist.Task;
@@ -952,8 +952,7 @@ public class TaskListView extends ViewPart {
// addAction(createTask, manager, element);
manager.add(new Separator("context"));
- for (ITaskListDynamicSubMenuContributor contributor : MylarTasklistPlugin.getDefault().getDynamicMenuContributers()) {
-// manager.add(new Separator());
+ for (IDynamicSubMenuContributor contributor : MylarTasklistPlugin.getDefault().getDynamicMenuContributers()) {
MenuManager subMenuManager = contributor.getSubMenuManager(this, (ITaskListElement)selectedObject);
if (subMenuManager != null) addMenuManager(subMenuManager, manager, element);
}

Back to the top