|
|
|
@ -66,8 +66,10 @@ public class LayoutStylePane extends BasicBeanPane<LayoutBorderStyle> {
|
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
this.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
|
|
|
|
|
|
|
|
JTemplate currentEditingTemplate = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
boolean isRootLayout = currentEditingTemplate != null && !currentEditingTemplate.isJWorkBook() && ((JForm)currentEditingTemplate).isSelectRootPane(); |
|
|
|
|
JTemplate<?, ?> currentEditingTemplate = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
|
boolean isRootLayout = currentEditingTemplate != null && |
|
|
|
|
!currentEditingTemplate.isJWorkBook() && |
|
|
|
|
currentEditingTemplate instanceof JForm && ((JForm)currentEditingTemplate).isSelectRootPane(); |
|
|
|
|
|
|
|
|
|
namedTitleStylePane = createNamedTitleStylePane(isRootLayout); |
|
|
|
|
namedBodyStylePane = createNamedBodyStylePane(isRootLayout); |
|
|
|
|