Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-07-10 21:32:58 -0400
committermkersten2005-07-10 21:32:58 -0400
commit5846b4309526d5701e421a0ee51ed9f564633b79 (patch)
tree26da5f8e9cfad3ea8a14e2224c16ae0d41e79739 /org.eclipse.mylyn.tasks.ui
parenta6c65922dcf8c46c7ead0bad4adb39d05e54d9c7 (diff)
downloadorg.eclipse.mylyn.tasks-5846b4309526d5701e421a0ee51ed9f564633b79.tar.gz
org.eclipse.mylyn.tasks-5846b4309526d5701e421a0ee51ed9f564633b79.tar.xz
org.eclipse.mylyn.tasks-5846b4309526d5701e421a0ee51ed9f564633b79.zip
Fix for Bugzilla Bug 101940
Landmark notification incorrect
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java8
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java1
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java3
3 files changed, 0 insertions, 12 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
index 3537a371d..a0566e3a4 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/ClearContextAction.java
@@ -42,16 +42,8 @@ public class ClearContextAction extends Action {
@Override
public void run() {
-// MylarPlugin.getDefault().actionObserved(this);
Object selectedObject = ((IStructuredSelection)this.view.getViewer().getSelection()).getFirstElement();
if (selectedObject != null && selectedObject instanceof ITask) {
-// ITask task = (ITask) selectedObject;
-// if (task.isActive()) {
-// MessageDialog.openError(Workbench.getInstance()
-// .getActiveWorkbenchWindow().getShell(), "Clear context failed",
-// "Task must be deactivated before clearing task context.");
-// return;
-// }
boolean deleteConfirmed = MessageDialog.openQuestion(
Workbench.getInstance().getActiveWorkbenchWindow().getShell(),
"Confirm clear context",
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
index 605750f17..a6af5e8d8 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/views/TaskListLabelProvider.java
@@ -55,7 +55,6 @@ public class TaskListLabelProvider extends LabelProvider implements ITableLabelP
return element.getDescription(true);
}
}
- System.out.println("Not TaskListElement");
return "";
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
index e901459ef..7fe36b5e1 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/util/TaskTest.java
@@ -40,9 +40,6 @@ public class TaskTest {
int compare = (this.name.compareTo(otherTask.name));
if (compare != 0)
result = false;
- if (!result)
- System.out.println("this: " + this.name + " otherName: "
- + otherTask.name + " a");
if (this.categories.size() == otherTask.categories.size()) {
for (int i = 0; i < this.categories.size(); i++) {

Back to the top