diff options
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java index ea588ae6e..7b2e6fece 100644 --- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java +++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditorPage.java @@ -112,6 +112,13 @@ public class BugzillaTaskEditorPage extends AbstractTaskEditorPage { break; } } + for (TaskEditorPartDescriptor taskEditorPartDescriptor : descriptors) { + if (taskEditorPartDescriptor.getId().equals(ID_PART_NEW_COMMENT)) { + descriptors.remove(taskEditorPartDescriptor); + hasPartComments = true; + break; + } + } // Add Bugzilla Planning part try { @@ -155,6 +162,14 @@ public class BugzillaTaskEditorPage extends AbstractTaskEditorPage { // ignore } + // Add the updated Bugzilla new comment part + descriptors.add(new TaskEditorPartDescriptor(ID_PART_NEW_COMMENT) { + @Override + public AbstractTaskEditorPart createPart() { + return new BugzillaTaskEditorNewCommentPart(); + } + }.setPath(PATH_COMMENTS)); + // Add the updated Bugzilla people part descriptors.add(new TaskEditorPartDescriptor(ID_PART_PEOPLE) { @Override |