Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-06-14 01:11:50 +0000
committerspingel2009-06-14 01:11:50 +0000
commit44c2a5df795179f2750fa3f84cc4b9f58a92c113 (patch)
treec8dcc4aa669d0134e7ba285487580752e9450e98 /org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor
parent1fbda3496447ed471f5e929fab036be0168a403e (diff)
downloadorg.eclipse.mylyn.tasks-44c2a5df795179f2750fa3f84cc4b9f58a92c113.tar.gz
org.eclipse.mylyn.tasks-44c2a5df795179f2750fa3f84cc4b9f58a92c113.tar.xz
org.eclipse.mylyn.tasks-44c2a5df795179f2750fa3f84cc4b9f58a92c113.zip
NEW - bug 175211: Support Trac 0.11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=175211
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/TracTaskEditorPageFactory.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPageFactory.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPageFactory.java
index 80ea25b65..11921d212 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPageFactory.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPageFactory.java
@@ -53,7 +53,11 @@ public class TracTaskEditorPageFactory extends AbstractTaskEditorPageFactory {
@Override
public String[] getConflictingIds(TaskEditorInput input) {
- return new String[] { ITasksUiConstants.ID_PAGE_PLANNING };
+ if (TracRepositoryConnector.hasRichEditor(input.getTaskRepository())) {
+ return new String[] { ITasksUiConstants.ID_PAGE_PLANNING };
+ } else {
+ return super.getConflictingIds(input);
+ }
}
@Override

Back to the top