Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-08-17 18:01:31 -0400
committermkersten2005-08-17 18:01:31 -0400
commit404f8e0ac74a9afd95f374ffb6c1c6ebefdb8dff (patch)
treea098876830ddafef154c11e312c5af4c749fe8de
parent2feffe761a7ca361c7fcd3cde0e42ee2645b70c8 (diff)
downloadorg.eclipse.mylyn.tasks-404f8e0ac74a9afd95f374ffb6c1c6ebefdb8dff.tar.gz
org.eclipse.mylyn.tasks-404f8e0ac74a9afd95f374ffb6c1c6ebefdb8dff.tar.xz
org.eclipse.mylyn.tasks-404f8e0ac74a9afd95f374ffb6c1c6ebefdb8dff.zip
Naming improvements
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/MylarTasklistPlugin.java8
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/DeleteAction.java4
3 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java
index a9bdc4908..4748f5ccc 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTaskHandler.java
@@ -71,7 +71,7 @@ public class BugzillaTaskHandler implements ITaskHandler {
task.removeReport();
MylarTasklistPlugin.getTaskListManager().deleteTask(task);
- MylarPlugin.getContextManager().taskDeleted(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextDeleted(task.getHandle(), task.getPath());
IWorkbenchPage page = MylarTasklistPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
// if we couldn't get the page, get out of here
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 5acef8a91..e6b6a623a 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
@@ -154,17 +154,17 @@ public class MylarTasklistPlugin extends AbstractUIPlugin implements IStartup {
private static ITaskActivityListener CONTEXT_MANAGER_TASK_LISTENER = new ITaskActivityListener() {
public void taskActivated(ITask task) {
- MylarPlugin.getContextManager().taskActivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextActivated(task.getHandle(), task.getPath());
}
public void tasksActivated(List<ITask> tasks) {
for (ITask task : tasks) {
- MylarPlugin.getContextManager().taskActivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextActivated(task.getHandle(), task.getPath());
}
}
public void taskDeactivated(ITask task) {
- MylarPlugin.getContextManager().taskDeactivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextDeactivated(task.getHandle(), task.getPath());
}
public void taskPropertyChanged(ITask updatedTask, String property) {
@@ -177,7 +177,7 @@ public class MylarTasklistPlugin extends AbstractUIPlugin implements IStartup {
private void saveState() {
taskListManager.saveTaskList();
for(ITask task : taskListManager.getTaskList().getActiveTasks()) {
- MylarPlugin.getContextManager().saveTaskscape(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().saveContext(task.getHandle(), task.getPath());
}
lastSave = new Date();
plugin.getPreferenceStore().setValue(PREVIOUS_SAVE_DATE, lastSave.getTime());
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/DeleteAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/DeleteAction.java
index e7ab19d8c..beb53bd76 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/DeleteAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/actions/DeleteAction.java
@@ -66,7 +66,7 @@ public class DeleteAction extends Action {
return;
MylarTasklistPlugin.getTaskListManager().deleteTask(task);
- MylarPlugin.getContextManager().taskDeleted(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextDeleted(task.getHandle(), task.getPath());
IWorkbenchPage page = MylarTasklistPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
// if we couldn't get the page, get out of here
@@ -87,7 +87,7 @@ public class DeleteAction extends Action {
TaskCategory cat = (TaskCategory) selectedObject;
for (ITask task : cat.getChildren()) {
- MylarPlugin.getContextManager().taskDeleted(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().contextDeleted(task.getHandle(), task.getPath());
IWorkbenchPage page = MylarTasklistPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
if (page != null) {
try {

Back to the top