Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2009-05-28 21:35:13 +0000
committersminto2009-05-28 21:35:13 +0000
commitbf4b060aad3f72c8a81c397c691bf458909049ba (patch)
tree8a6a7c42779f4426aabb2e7f0ebfdf35447d62ad /org.eclipse.mylyn.trac.ui/src/org/eclipse
parent3c24898cf3a97045dcc3c567b33e0e68ec553afa (diff)
downloadorg.eclipse.mylyn.tasks-bf4b060aad3f72c8a81c397c691bf458909049ba.tar.gz
org.eclipse.mylyn.tasks-bf4b060aad3f72c8a81c397c691bf458909049ba.tar.xz
org.eclipse.mylyn.tasks-bf4b060aad3f72c8a81c397c691bf458909049ba.zip
RESOLVED - bug 278298: [api] add support for enabling and disabling the new private section
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278298
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/TracTaskEditorPage.java1
-rw-r--r--org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPageFactory.java5
2 files changed, 2 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPage.java b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPage.java
index 3233f098f..e53d55947 100644
--- a/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPage.java
+++ b/org.eclipse.mylyn.trac.ui/src/org/eclipse/mylyn/internal/trac/ui/editor/TracTaskEditorPage.java
@@ -34,6 +34,7 @@ public class TracTaskEditorPage extends AbstractTaskEditorPage {
public TracTaskEditorPage(TaskEditor editor) {
super(editor, TracCorePlugin.CONNECTOR_KIND);
setNeedsSubmitButton(true);
+ setNeedsPrivateSection(true);
}
@Override
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 69d5e49e1..80ea25b65 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,10 +53,7 @@ public class TracTaskEditorPageFactory extends AbstractTaskEditorPageFactory {
@Override
public String[] getConflictingIds(TaskEditorInput input) {
- if (!input.getTask().getConnectorKind().equals(TracCorePlugin.CONNECTOR_KIND)) {
- return new String[] { ITasksUiConstants.ID_PAGE_PLANNING };
- }
- return null;
+ return new String[] { ITasksUiConstants.ID_PAGE_PLANNING };
}
@Override

Back to the top