|
|
|
@ -3,26 +3,21 @@
|
|
|
|
|
*/ |
|
|
|
|
package com.fr.start; |
|
|
|
|
|
|
|
|
|
import com.fr.base.FRContext; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
|
import com.fr.design.file.MutilTempalteTabPane; |
|
|
|
|
import com.fr.design.file.TemplateTreePane; |
|
|
|
|
import com.fr.design.fun.DesignerStartOpenFileProcessor; |
|
|
|
|
import com.fr.design.fun.impl.GlobalListenerProviderManager; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.DesignerFrame; |
|
|
|
|
import com.fr.design.mainframe.TemplatePane; |
|
|
|
|
import com.fr.design.mainframe.toolbar.ToolBarMenuDock; |
|
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
|
import com.fr.env.SignIn; |
|
|
|
|
import com.fr.file.FILE; |
|
|
|
|
import com.fr.file.FILEFactory; |
|
|
|
|
import com.fr.file.FileFILE; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.general.FRLogger; |
|
|
|
|
import com.fr.general.Inter; |
|
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
|
import com.fr.stable.OperatingSystem; |
|
|
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
@ -50,19 +45,22 @@ public abstract class BaseDesigner extends ToolBarMenuDock {
|
|
|
|
|
|
|
|
|
|
// 初始化Log Handler
|
|
|
|
|
DesignerEnvManager.loadLogSetting(); |
|
|
|
|
DesignerFrame df = createDesignerFrame(); |
|
|
|
|
createDesignerFrame(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void show(String[] args) { |
|
|
|
|
|
|
|
|
|
collectUserInformation(); |
|
|
|
|
showDesignerFrame(args, df, false); |
|
|
|
|
showDesignerFrame(args, DesignerContext.getDesignerFrame(), false); |
|
|
|
|
for (int i = 0; !TemplateTreePane.getInstance().getTemplateFileTree().isTemplateShowing() && i < LOAD_TREE_MAXNUM; i++) { |
|
|
|
|
TemplateTreePane.getInstance().getTemplateFileTree().refresh(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void createDesignerFrame() { |
|
|
|
|
|
|
|
|
|
private DesignerFrame createDesignerFrame() { |
|
|
|
|
return new DesignerFrame(this); |
|
|
|
|
new DesignerFrame(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|