|
|
@ -26,6 +26,7 @@ import com.fr.general.FRLogger; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.Inter; |
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.general.ModuleContext; |
|
|
|
import com.fr.plugin.PluginCollector; |
|
|
|
import com.fr.plugin.PluginCollector; |
|
|
|
|
|
|
|
import com.fr.plugin.manage.PluginManager; |
|
|
|
import com.fr.stable.*; |
|
|
|
import com.fr.stable.*; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
@ -89,6 +90,8 @@ public abstract class BaseDesigner extends ToolBarMenuDock { |
|
|
|
switch2LastEnv(); |
|
|
|
switch2LastEnv(); |
|
|
|
|
|
|
|
|
|
|
|
initDefaultFont(); |
|
|
|
initDefaultFont(); |
|
|
|
|
|
|
|
//PluginManager要在环境切换和模块启动之前初始化
|
|
|
|
|
|
|
|
PluginManager.init(); |
|
|
|
// 必须先初始化Env再去startModule, 不然会导致lic读取不到
|
|
|
|
// 必须先初始化Env再去startModule, 不然会导致lic读取不到
|
|
|
|
ModuleContext.startModule(module2Start()); |
|
|
|
ModuleContext.startModule(module2Start()); |
|
|
|
|
|
|
|
|
|
|
|