Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2008-04-11 03:56:21 +0000
committermkersten2008-04-11 03:56:21 +0000
commit1568ae9cce43a5242ca3f45079b570f20f5535c7 (patch)
treedc952b9a522e0c278a4c1a9f3860f1741ec175ab /org.eclipse.mylyn.trac.ui/src/org/eclipse
parentac63ead3000fe54f2cfde3323f88f676e2d89987 (diff)
downloadorg.eclipse.mylyn.tasks-1568ae9cce43a5242ca3f45079b570f20f5535c7.tar.gz
org.eclipse.mylyn.tasks-1568ae9cce43a5242ca3f45079b570f20f5535c7.tar.xz
org.eclipse.mylyn.tasks-1568ae9cce43a5242ca3f45079b570f20f5535c7.zip
NEW - bug 225485: [api] move TasksUiPlugin to internal package
https://bugs.eclipse.org/bugs/show_bug.cgi?id=225485
Diffstat (limited to 'org.eclipse.mylyn.trac.ui/src/org/eclipse')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java4
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java
index 7ba3a88a6..52c92e9b8 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/NewTracTaskEditor.java
@@ -11,7 +11,6 @@ package org.eclipse.mylyn.internal.trac.ui.editor;
import org.eclipse.jface.fieldassist.ContentProposalAdapter;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.trac.core.ITracClient;
import org.eclipse.mylyn.internal.trac.core.TracRepositoryQuery;
import org.eclipse.mylyn.internal.trac.core.model.TracSearch;
@@ -19,6 +18,7 @@ import org.eclipse.mylyn.internal.trac.core.model.TracSearchFilter;
import org.eclipse.mylyn.internal.trac.core.model.TracSearchFilter.CompareOperator;
import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute;
import org.eclipse.mylyn.tasks.ui.TaskFactory;
+import org.eclipse.mylyn.tasks.ui.TasksUi;
import org.eclipse.mylyn.tasks.ui.editors.AbstractNewRepositoryTaskEditor;
import org.eclipse.mylyn.tasks.ui.search.SearchHitCollector;
import org.eclipse.swt.SWT;
@@ -60,7 +60,7 @@ public class NewTracTaskEditor extends AbstractNewRepositoryTaskEditor {
TracRepositoryQuery query = new TracRepositoryQuery(repository.getRepositoryUrl(), sb.toString(), "<Duplicate Search>");
- SearchHitCollector collector = new SearchHitCollector(TasksUiPlugin.getTaskListManager().getTaskList(),
+ SearchHitCollector collector = new SearchHitCollector(TasksUi.getTaskListManager().getTaskList(),
repository, query, new TaskFactory(repository, false, false));
return collector;
}
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java
index 8f6fa2a16..32099ca52 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/wizard/NewTracQueryWizard.java
@@ -51,7 +51,7 @@ public class NewTracQueryWizard extends Wizard {
public boolean performFinish() {
AbstractRepositoryQuery query = queryPage.getQuery();
if (query != null) {
- TasksUiPlugin.getTaskListManager().getTaskList().addQuery(query);
+ TasksUi.getTaskListManager().getTaskList().addQuery(query);
AbstractRepositoryConnector connector = TasksUiPlugin.getRepositoryManager().getRepositoryConnector(
repository.getConnectorKind());
if (connector != null) {

Back to the top