- Section nextCurrentSection = new Section(body, SWT.NONE, context);
- nextCurrentSection.setLayoutData(CmsUiUtils.coversAll());
- sections.remove(currentSection);
- sections.add(currentIndex, nextCurrentSection);
- sections.add(currentSection);
- nextCurrentSection.moveAbove(null);
- if (previousNode != null) {
- view(previousUiProvider, previousNode);
- }
+ Section previousSection = new Section(body, SWT.NONE, context);
+ build(previousSection, previousUiProvider, previousNode);
+ previousSection.setLayoutData(CmsUiUtils.coversAll());
+// sections.remove(currentSection);
+ sections.add(currentIndex + 1, previousSection);
+// sections.add(currentSection);
+// nextCurrentSection.moveAbove(null);
+// if (previousNode != null) {
+// view(previousUiProvider, previousNode);
+// }