Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-04-12 05:35:22 +0000
committerspingel2008-04-12 05:35:22 +0000
commite3d765dc84c8c902d80c9e679fa36ca0c291cdb0 (patch)
treecfc0e3f51525a1a1fedf13a46ef9b4d5d45e0ae1 /org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor
parentb74479cea749ab0c5301c4cd221fe366d1ccc889 (diff)
downloadorg.eclipse.mylyn.tasks-e3d765dc84c8c902d80c9e679fa36ca0c291cdb0.tar.gz
org.eclipse.mylyn.tasks-e3d765dc84c8c902d80c9e679fa36ca0c291cdb0.tar.xz
org.eclipse.mylyn.tasks-e3d765dc84c8c902d80c9e679fa36ca0c291cdb0.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/mylyn/internal/trac/ui/editor')
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java
index e9d509838..780e58577 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorFactory.java
@@ -10,12 +10,12 @@ package org.eclipse.mylyn.internal.trac.ui.editor;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.mylyn.internal.tasks.ui.TasksUiImages;
-import org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin;
import org.eclipse.mylyn.internal.trac.core.TracCorePlugin;
import org.eclipse.mylyn.internal.trac.core.TracRepositoryConnector;
import org.eclipse.mylyn.internal.trac.core.TracTask;
import org.eclipse.mylyn.tasks.core.AbstractTask;
import org.eclipse.mylyn.tasks.core.TaskRepository;
+import org.eclipse.mylyn.tasks.ui.TasksUi;
import org.eclipse.mylyn.tasks.ui.editors.AbstractTaskEditorFactory;
import org.eclipse.mylyn.tasks.ui.editors.BrowserFormPage;
import org.eclipse.mylyn.tasks.ui.editors.RepositoryTaskEditorInput;
@@ -60,7 +60,7 @@ public class TracTaskEditorFactory extends AbstractTaskEditorFactory {
return new TracTaskEditor(parentEditor);
}
} else if (editorInput instanceof TaskEditorInput) {
- TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository(
+ TaskRepository repository = TasksUi.getRepositoryManager().getRepository(
TracCorePlugin.REPOSITORY_KIND, ((TaskEditorInput) editorInput).getTask().getRepositoryUrl());
if (TracRepositoryConnector.hasRichEditor(repository)) {
// the editor is actually initialized with a RepositoryTaskEditorInput, see bug 193430
@@ -75,7 +75,7 @@ public class TracTaskEditorFactory extends AbstractTaskEditorFactory {
@Override
public IEditorInput createEditorInput(AbstractTask task) {
TracTask tracTask = (TracTask) task;
- TaskRepository repository = TasksUiPlugin.getRepositoryManager().getRepository(TracCorePlugin.REPOSITORY_KIND,
+ TaskRepository repository = TasksUi.getRepositoryManager().getRepository(TracCorePlugin.REPOSITORY_KIND,
tracTask.getRepositoryUrl());
if (TracRepositoryConnector.hasRichEditor(repository)) {
return new RepositoryTaskEditorInput(repository, tracTask.getTaskId(), tracTask.getUrl());

Back to the top