Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-06-28 23:49:37 -0400
committermkersten2005-06-28 23:49:37 -0400
commitc6bdad5ab5a2d2a24bfa79409e2f21f2c79b9f7a (patch)
treea7d55003cf0c7b4f91055f0ea42eb45df84799ec /org.eclipse.mylyn.tasks.ui
parent0241b4579953c5aa33fe4900fcaa14aff19b9ace (diff)
downloadorg.eclipse.mylyn.tasks-c6bdad5ab5a2d2a24bfa79409e2f21f2c79b9f7a.tar.gz
org.eclipse.mylyn.tasks-c6bdad5ab5a2d2a24bfa79409e2f21f2c79b9f7a.tar.xz
org.eclipse.mylyn.tasks-c6bdad5ab5a2d2a24bfa79409e2f21f2c79b9f7a.zip
Bug #101898: improve icons
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/elcl16/synched.gifbin160 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/elcl16/task-bugzilla.gifbin358 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category-new.gifbin239 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category.gifbin161 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/elcl16/task.gifbin375 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/eview16/task-bug.gifbin0 -> 341 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gifbin0 -> 345 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/eview16/task.gifbin0 -> 218 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/icons/eview16/tasklist.gifbin594 -> 0 bytes
-rw-r--r--org.eclipse.mylyn.tasks.ui/plugin.xml18
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java102
11 files changed, 60 insertions, 60 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/icons/elcl16/synched.gif b/org.eclipse.mylyn.tasks.ui/icons/elcl16/synched.gif
deleted file mode 100644
index 870934b69..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/elcl16/synched.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-bugzilla.gif b/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-bugzilla.gif
deleted file mode 100644
index 8704e4df2..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-bugzilla.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category-new.gif b/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category-new.gif
deleted file mode 100644
index bcae2d487..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category-new.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category.gif b/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category.gif
deleted file mode 100644
index 112cb65b4..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task-category.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task.gif b/org.eclipse.mylyn.tasks.ui/icons/elcl16/task.gif
deleted file mode 100644
index a2948dff6..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/elcl16/task.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/eview16/task-bug.gif b/org.eclipse.mylyn.tasks.ui/icons/eview16/task-bug.gif
new file mode 100644
index 000000000..99e9e98f2
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/eview16/task-bug.gif
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif b/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif
new file mode 100644
index 000000000..009443dfe
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/eview16/task-list.gif
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/eview16/task.gif b/org.eclipse.mylyn.tasks.ui/icons/eview16/task.gif
new file mode 100644
index 000000000..9881d3872
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/icons/eview16/task.gif
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/icons/eview16/tasklist.gif b/org.eclipse.mylyn.tasks.ui/icons/eview16/tasklist.gif
deleted file mode 100644
index 3efb0536a..000000000
--- a/org.eclipse.mylyn.tasks.ui/icons/eview16/tasklist.gif
+++ /dev/null
Binary files differ
diff --git a/org.eclipse.mylyn.tasks.ui/plugin.xml b/org.eclipse.mylyn.tasks.ui/plugin.xml
index f2940a527..06fee1ced 100644
--- a/org.eclipse.mylyn.tasks.ui/plugin.xml
+++ b/org.eclipse.mylyn.tasks.ui/plugin.xml
@@ -10,7 +10,7 @@
<extension point="org.eclipse.ui.views">
<view name="Mylar Tasks"
- icon="icons/eview16/tasklist.gif"
+ icon="icons/eview16/task-list.gif"
category="org.eclipse.mylar"
class="org.eclipse.mylar.tasks.ui.views.TaskListView"
id="org.eclipse.mylar.tasks.ui.views.TaskListView" />
@@ -18,29 +18,17 @@
<extension
point="org.eclipse.ui.editors">
<editor
- icon="icons/eview16/tasklist.gif"
+ icon="icons/eview16/task.gif"
class="org.eclipse.mylar.tasks.ui.TaskEditor"
name="Task Viewer"
id="org.eclipse.mylar.tasks.ui.taskEditor"/>
<editor
- icon="icons/eview16/tasklist.gif"
+ icon="icons/eview16/task-bug.gif"
name="Bugzilla task viewer"
class="org.eclipse.mylar.tasks.ui.BugzillaTaskEditor"
id="org.eclipse.mylar.tasks.ui.bugzillaTaskEditor"/>
</extension>
<extension point="org.eclipse.ui.commands">
- <command
- name="Interest filtering"
- description="Interest filtering"
- id="org.eclipse.mylar.ui.interest.filtering"
- categoryId="org.eclipse.mylar.ui">
- </command>
- <command
- name="Intersection mode"
- description="Intersection mode"
- id="org.eclipse.mylar.ui.interest.intersection"
- categoryId="org.eclipse.mylar.ui">
- </command>
</extension>
</plugin>
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
index e59a862d5..24a130996 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListView.java
@@ -115,8 +115,9 @@ public class TaskListView extends ViewPart {
private RefreshAction refresh;
private CreateTaskAction createTask;
private CreateCategoryAction createCategory;
+ private CreateQueryCategoryAction createQueryCategory;
private CreateBugzillaTaskAction createBugzillaTask;
- private RenameAction rename;
+// private RenameAction rename;
private DeleteAction delete;
private OpenTaskEditorAction doubleClickAction;
private ClearTaskscapeAction clearSelectedTaskscapeAction;
@@ -194,8 +195,8 @@ public class TaskListView extends ViewPart {
private final class FilterCompletedTasksAction extends Action {
public FilterCompletedTasksAction() {
- setText("Filter Complete tasks");
- setToolTipText("Filter Completed tasks");
+ setText("Filter Completed Tasks");
+ setToolTipText("Filter Completed Tasks");
setImageDescriptor(MylarImages.FILTER_COMPLETE);
setChecked(MylarTasksPlugin.getDefault().isFilterCompleteMode());
}
@@ -227,8 +228,8 @@ public class TaskListView extends ViewPart {
private final class ClearTaskscapeAction extends Action {
public ClearTaskscapeAction() {
- setText("Erase Taskscape");
- setToolTipText("Erase Taskscape");
+ setText("Clear Task Context");
+ setToolTipText("Clear Task Context");
setImageDescriptor(MylarImages.ERASE_TASKSCAPE);
}
@Override
@@ -241,26 +242,26 @@ public class TaskListView extends ViewPart {
}
}
- private final class RenameAction extends Action {
- public RenameAction() {
- setText("Rename");
- setToolTipText("Rename");
- }
- @Override
- public void run() {
- String label = "category";
- Object selectedObject = ((IStructuredSelection)viewer.getSelection()).getFirstElement();
- if (selectedObject instanceof Task) label = "task";
-
- String newName = getLabelNameFromUser(label);
- if (selectedObject instanceof Task) {
- ((Task)selectedObject).setLabel(newName);
- } else if (selectedObject instanceof Category) {
- ((Category)selectedObject).setName(newName);
- }
- viewer.refresh(selectedObject);
- }
- }
+// private final class RenameAction extends Action {
+// public RenameAction() {
+// setText("Rename");
+// setToolTipText("Rename");
+// }
+// @Override
+// public void run() {
+// String label = "category";
+// Object selectedObject = ((IStructuredSelection)viewer.getSelection()).getFirstElement();
+// if (selectedObject instanceof Task) label = "task";
+//
+// String newName = getLabelNameFromUser(label);
+// if (selectedObject instanceof Task) {
+// ((Task)selectedObject).setLabel(newName);
+// } else if (selectedObject instanceof Category) {
+// ((Category)selectedObject).setName(newName);
+// }
+// viewer.refresh(selectedObject);
+// }
+// }
private final class MarkTaskIncompleteAction extends Action {
public MarkTaskIncompleteAction() {
@@ -345,8 +346,8 @@ public class TaskListView extends ViewPart {
private final class CreateBugzillaTaskAction extends Action {
public CreateBugzillaTaskAction() {
- setText("Add bugzilla report");
- setToolTipText("Add bugzilla report");
+ setText("Add Bugzilla Report");
+ setToolTipText("Add Bugzilla Report");
setImageDescriptor(MylarImages.TASK_BUGZILLA_NEW);
}
@Override
@@ -387,9 +388,9 @@ public class TaskListView extends ViewPart {
private final class RefreshAction extends Action {
public RefreshAction() {
- setText("Refresh all Bugzilla reports");
- setToolTipText("Refresh all Bugzilla reports");
- setImageDescriptor(MylarImages.REFRESH);
+ setText("Refresh Bugzilla reports");
+ setToolTipText("Refresh Bugzilla reports");
+ setImageDescriptor(MylarImages.TASK_BUG_REFRESH);
}
@Override
@@ -455,8 +456,8 @@ public class TaskListView extends ViewPart {
private final class CreateTaskAction extends Action {
public CreateTaskAction() {
- setText("Create task");
- setToolTipText("Create task");
+ setText("Add Task");
+ setToolTipText("Add Task");
setImageDescriptor(MylarImages.TASK_NEW);
}
@@ -488,8 +489,8 @@ public class TaskListView extends ViewPart {
private final class CreateCategoryAction extends Action {
public CreateCategoryAction() {
- setText("Create category");
- setToolTipText("Create category");
+ setText("Add Category");
+ setToolTipText("Add Category");
setImageDescriptor(MylarImages.CATEGORY_NEW);
}
@@ -503,6 +504,19 @@ public class TaskListView extends ViewPart {
}
}
+ private final class CreateQueryCategoryAction extends Action {
+ public CreateQueryCategoryAction() {
+ setText("Add Bugzilla Query");
+ setToolTipText("Add Bugzilla Query");
+ setImageDescriptor(MylarImages.CATEGORY_QUERY_NEW);
+ }
+
+ @Override
+ public void run() {
+ MylarPlugin.log("not implemented", this);
+ }
+ }
+
private final class PriorityDropDownAction extends Action implements IMenuCreator {
private Menu dropDownMenu = null;
@@ -510,7 +524,7 @@ public class TaskListView extends ViewPart {
super();
setText("Display Priorities");
setToolTipText("Show Tasks with Priority Levels");
- setImageDescriptor(MylarImages.MYLAR);
+ setImageDescriptor(MylarImages.FILTER_PRIORITY);
setMenuCreator(this);
}
@@ -1163,12 +1177,12 @@ public class TaskListView extends ViewPart {
// manager.add(new Separator());
manager.add(createTask);
manager.add(createBugzillaTask);
- manager.add(rename);
+// manager.add(rename);
manager.add(delete);
manager.add(clearSelectedTaskscapeAction);
manager.add(moveTaskToRoot);
manager.add(new Separator());
- MenuManager subMenuManager = new MenuManager("choose highlighter");
+ MenuManager subMenuManager = new MenuManager("Choose Highlighter");
for (Iterator<Highlighter> it = MylarUiPlugin.getDefault().getHighlighters().iterator(); it.hasNext();) {
final Highlighter highlighter = it.next();
final Object selectedObject = ((IStructuredSelection)viewer.getSelection()).getFirstElement();
@@ -1200,19 +1214,16 @@ public class TaskListView extends ViewPart {
}
private void fillLocalToolBar(IToolBarManager manager) {
- manager.add(createCategory);
manager.add(createTask);
-// manager.add(new Separator());
+ manager.add(createCategory);
+ manager.add(new Separator());
manager.add(createBugzillaTask);
+ manager.add(createQueryCategory);
manager.add(refresh);
-// manager.add(new Separator());
-// manager.add(toggleFilteringAction);
- //manager.add(toggleIntersectionModeAction);
manager.add(new Separator());
manager.add(filterCompleteTask);
// manager.add(filterInCompleteTask);
manager.add(filterOnPriority);
-
}
/**
@@ -1223,11 +1234,12 @@ public class TaskListView extends ViewPart {
refresh = new RefreshAction();
createTask = new CreateTaskAction();
createCategory = new CreateCategoryAction();
- createBugzillaTask = new CreateBugzillaTaskAction();
+ createBugzillaTask = new CreateBugzillaTaskAction();
+ createQueryCategory = new CreateQueryCategoryAction();
delete = new DeleteAction();
completeTask = new MarkTaskCompleteAction();
incompleteTask = new MarkTaskIncompleteAction();
- rename = new RenameAction();
+// rename = new RenameAction();
clearSelectedTaskscapeAction = new ClearTaskscapeAction();
moveTaskToRoot = new MoveTaskToRootAction();
doubleClickAction = new OpenTaskEditorAction();

Back to the top