Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-07-18 18:12:15 -0400
committerSteffen Pingel2011-07-18 18:12:15 -0400
commitaf85ba92f40ffbda4657d91ba2ef9da3fb38320c (patch)
tree0f278a6e2ece0971c3c9b823001aad8b644f454e
parent3c5079b1f27680be17adc933d4272530d3d31600 (diff)
downloadorg.eclipse.mylyn.tasks-af85ba92f40ffbda4657d91ba2ef9da3fb38320c.tar.gz
org.eclipse.mylyn.tasks-af85ba92f40ffbda4657d91ba2ef9da3fb38320c.tar.xz
org.eclipse.mylyn.tasks-af85ba92f40ffbda4657d91ba2ef9da3fb38320c.zip
NEW - bug 352255: Move private notes below attachments
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352255
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java20
1 files changed, 9 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
index aacf62b1d..3b8a80516 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/editors/AbstractTaskEditorPage.java
@@ -760,6 +760,14 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
}
}.setPath(PATH_ATTACHMENTS));
}
+ if (needsPrivateSection() || taskData.isNew()) {
+ descriptors.add(new TaskEditorPartDescriptor(ID_PART_PLANNING) {
+ @Override
+ public AbstractTaskEditorPart createPart() {
+ return new TaskEditorPlanningPart();
+ }
+ }.setPath(PATH_PLANNING));
+ }
descriptors.add(new TaskEditorPartDescriptor(ID_PART_DESCRIPTION) {
@Override
public AbstractTaskEditorPart createPart() {
@@ -785,16 +793,6 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
return new TaskEditorNewCommentPart();
}
}.setPath(PATH_COMMENTS));
-
- if (needsPrivateSection() || taskData.isNew()) {
- descriptors.add(new TaskEditorPartDescriptor(ID_PART_PLANNING) {
- @Override
- public AbstractTaskEditorPart createPart() {
- return new TaskEditorPlanningPart();
- }
- }.setPath(PATH_PLANNING));
- }
-
descriptors.add(new TaskEditorPartDescriptor(ID_PART_ACTIONS) {
@Override
public AbstractTaskEditorPart createPart() {
@@ -821,8 +819,8 @@ public abstract class AbstractTaskEditorPage extends TaskFormPage implements ISe
// single column
createParts(PATH_HEADER, editorComposite, descriptors);
createParts(PATH_ATTRIBUTES, editorComposite, descriptors);
- createParts(PATH_PLANNING, editorComposite, descriptors);
createParts(PATH_ATTACHMENTS, editorComposite, descriptors);
+ createParts(PATH_PLANNING, editorComposite, descriptors);
createParts(PATH_COMMENTS, editorComposite, descriptors);
// two column
Composite bottomComposite = toolkit.createComposite(editorComposite);

Back to the top