Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-07-14 21:43:27 +0000
committermkersten2005-07-14 21:43:27 +0000
commitfd915922c4e76a819a5d25a8f39e6a2c4fd53745 (patch)
tree0b7c3738dc9a67ecc5245464976295c08b84f7ce /org.eclipse.mylyn.tasks.ui
parent6f65a38426e7646fab445ca5a0b1726f11ebaf4d (diff)
downloadorg.eclipse.mylyn.tasks-fd915922c4e76a819a5d25a8f39e6a2c4fd53745.tar.gz
org.eclipse.mylyn.tasks-fd915922c4e76a819a5d25a8f39e6a2c4fd53745.tar.xz
org.eclipse.mylyn.tasks-fd915922c4e76a819a5d25a8f39e6a2c4fd53745.zip
Improved naming in core
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java10
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java2
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/DeleteAction.java4
3 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
index 8a9963108..4d0b70f05 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/MylarTasksPlugin.java
@@ -94,17 +94,17 @@ public class MylarTasksPlugin extends AbstractUIPlugin {
private static ITaskActivityListener TASK_LIST_LISTENER = new ITaskActivityListener() {
public void taskActivated(ITask task) {
- MylarPlugin.getTaskscapeManager().taskActivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().taskActivated(task.getHandle(), task.getPath());
}
public void tasksActivated(List<ITask> tasks) {
for (ITask task : tasks) {
- MylarPlugin.getTaskscapeManager().taskActivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().taskActivated(task.getHandle(), task.getPath());
}
}
public void taskDeactivated(ITask task) {
- MylarPlugin.getTaskscapeManager().taskDeactivated(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().taskDeactivated(task.getHandle(), task.getPath());
}
public void taskPropertyChanged(ITask updatedTask, String property) {
@@ -117,7 +117,7 @@ public class MylarTasksPlugin extends AbstractUIPlugin {
private void saveState() {
taskListManager.saveTaskList();
for(ITask task : taskListManager.getTaskList().getActiveTasks()) {
- MylarPlugin.getTaskscapeManager().saveTaskscape(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().saveTaskscape(task.getHandle(), task.getPath());
}
}
@@ -144,7 +144,7 @@ public class MylarTasksPlugin extends AbstractUIPlugin {
if (event.getProperty().equals(MylarPlugin.MYLAR_DIR)) {
if (event.getOldValue() instanceof String) {
String prevDir = (String) event.getOldValue();
- MylarPlugin.getTaskscapeManager().updateMylarDirContents(prevDir);
+ MylarPlugin.getContextManager().updateMylarDirContents(prevDir);
getTaskListManager().updateTaskscapeReference(prevDir);
String path = MylarPlugin.getDefault().getUserDataDirectory() + File.separator + DEFAULT_TASK_LIST_FILE;
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java
index cf3ae0013..b1af36f64 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TaskSummaryEditor.java
@@ -607,7 +607,7 @@ public class TaskSummaryEditor extends EditorPart {
String[] ext = { "*.xml" };
dialog.setFilterExtensions(ext);
- String mylarDir = MylarPlugin.getTaskscapeManager()
+ String mylarDir = MylarPlugin.getContextManager()
.getMylarDir()
+ "/";
mylarDir = mylarDir.replaceAll("\\\\", "/");
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/DeleteAction.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/DeleteAction.java
index 9a1ec4d6d..0a15a9682 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/DeleteAction.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/actions/DeleteAction.java
@@ -67,7 +67,7 @@ public class DeleteAction extends Action {
return;
MylarTasksPlugin.getTaskListManager().deleteTask(task);
- MylarPlugin.getTaskscapeManager().taskDeleted(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().taskDeleted(task.getHandle(), task.getPath());
IWorkbenchPage page = MylarTasksPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
// if we couldn't get the page, get out of here
@@ -88,7 +88,7 @@ public class DeleteAction extends Action {
TaskCategory cat = (TaskCategory) selectedObject;
for (ITask task : cat.getChildren()) {
- MylarPlugin.getTaskscapeManager().taskDeleted(task.getHandle(), task.getPath());
+ MylarPlugin.getContextManager().taskDeleted(task.getHandle(), task.getPath());
IWorkbenchPage page = MylarTasksPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
if (page != null) {
try {

Back to the top