Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-19 19:48:51 -0400
committermkersten2005-08-19 19:48:51 -0400
commitf2a01a5585237bda0646868dbb087550fb1829b7 (patch)
tree6919bea0bd894d969d08d88141ea147b6b1204d8
parent63801c96e1b17be8e6366694cdd482c12cf6b101 (diff)
downloadorg.eclipse.mylyn.tasks-f2a01a5585237bda0646868dbb087550fb1829b7.tar.gz
org.eclipse.mylyn.tasks-f2a01a5585237bda0646868dbb087550fb1829b7.tar.xz
org.eclipse.mylyn.tasks-f2a01a5585237bda0646868dbb087550fb1829b7.zip
Improved docs and added action IDs.
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/CopyDescriptionAction.java3
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoIntoAction.java7
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoUpAction.java8
3 files changed, 14 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/CopyDescriptionAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/CopyDescriptionAction.java
index db4d8d104..4bf9b5d5f 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/CopyDescriptionAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/CopyDescriptionAction.java
@@ -11,12 +11,15 @@ import org.eclipse.swt.custom.StyledText;
public class CopyDescriptionAction extends Action {
+ public static final String ID = "org.eclipse.mylar.tasklist.actions.copy";
+
private TaskListView view;
public CopyDescriptionAction(TaskListView view) {
this.view = view;
setText("Copy Description");
setToolTipText("Copy Description");
+ setId(ID);
setImageDescriptor(TaskListImages.COPY);
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoIntoAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoIntoAction.java
index 9a00a6534..93a7fe5c5 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoIntoAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoIntoAction.java
@@ -7,13 +7,16 @@ import org.eclipse.ui.part.DrillDownAdapter;
public class GoIntoAction extends Action {
+ public static final String ID = "org.eclipse.mylar.tasklist.actions.view.go.into";
+
private DrillDownAdapter drillDownAdapter;
public GoIntoAction(DrillDownAdapter drillDownAdapter) {
this.drillDownAdapter = drillDownAdapter;
- setText("Go Into");
- setToolTipText("Go into category");
+ setId(ID);
+ setText("Go Into Category");
+ setToolTipText("Go Into Category");
setImageDescriptor(TaskListImages.GO_INTO);
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoUpAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoUpAction.java
index 976c11687..8a99d5521 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoUpAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/GoUpAction.java
@@ -7,12 +7,16 @@ import org.eclipse.ui.part.DrillDownAdapter;
public class GoUpAction extends Action {
+
+ public static final String ID = "org.eclipse.mylar.tasklist.actions.view.go.up";
+
private DrillDownAdapter drillDownAdapter;
public GoUpAction(DrillDownAdapter drillDownAdapter) {
this.drillDownAdapter = drillDownAdapter;
- setText("Go Up");
- setToolTipText("Go Up");
+ setText("Go Up To Root");
+ setToolTipText("Go Up To Root");
+ setId(ID);
setImageDescriptor(TaskListImages.GO_UP);
}

Back to the top