|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.widget.ui.designer; |
|
|
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.base.iofile.attr.TemplateLayoutIdAttrMark; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.border.UITitledMatteBorder; |
|
|
|
@ -62,10 +63,11 @@ public class NewFormPane extends BasicPane {
|
|
|
|
|
newFormModel = NewFormModel.getInstance(); |
|
|
|
|
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 0)); |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
|
this.add(createModuleListPane(), BorderLayout.WEST); |
|
|
|
|
this.add(createModuleListPane(), BorderLayout.LINE_START); |
|
|
|
|
this.add(createTemplateManagePane(), BorderLayout.CENTER); |
|
|
|
|
initWindow(); |
|
|
|
|
DesignerCloudURLManager.getInstance().testConnect(); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initWindow() { |
|
|
|
@ -166,8 +168,8 @@ public class NewFormPane extends BasicPane {
|
|
|
|
|
JPanel jPanel = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
jPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); |
|
|
|
|
jPanel.setPreferredSize(new Dimension(1, 129)); |
|
|
|
|
jPanel.add(createNewTemplatePane(), BorderLayout.WEST); |
|
|
|
|
jPanel.add(createSwitchButtonPane(), BorderLayout.EAST); |
|
|
|
|
jPanel.add(createNewTemplatePane(), BorderLayout.LINE_START); |
|
|
|
|
jPanel.add(createSwitchButtonPane(), BorderLayout.LINE_END); |
|
|
|
|
return jPanel; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|