|
|
|
@ -2,6 +2,7 @@ package com.fr.start;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fanruan.gui.UiInspector; |
|
|
|
|
import com.fanruan.product.ProductConstants; |
|
|
|
|
import com.fine.theme.icon.LazyIcon; |
|
|
|
|
import com.fr.base.function.UITerminator; |
|
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
@ -13,10 +14,7 @@ import com.fr.design.actions.server.ServerConfigManagerAction;
|
|
|
|
|
import com.fr.design.actions.server.TemplateThemeManagerAction; |
|
|
|
|
import com.fr.design.actions.server.WidgetManagerAction; |
|
|
|
|
import com.fr.design.base.mode.DesignModeContext; |
|
|
|
|
import com.fr.design.carton.latency.DesignerLatencyMetric; |
|
|
|
|
import com.fr.design.carton.SwitchForSwingChecker; |
|
|
|
|
import com.fr.design.constants.DesignerLaunchStatus; |
|
|
|
|
import com.fr.design.deeplink.DeepLinkManager; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListCache; |
|
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
|
import com.fr.design.file.MultiTemplateTabPane; |
|
|
|
@ -48,7 +46,6 @@ import com.fr.design.menu.ShortCut;
|
|
|
|
|
import com.fr.design.module.ChartEmptyDataStyleAction; |
|
|
|
|
import com.fr.design.module.ChartPreStyleAction; |
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
|
import com.fr.design.monitor.DesignerLifecycleMonitorContext; |
|
|
|
|
import com.fr.design.notification.ui.NotificationCenterPane; |
|
|
|
|
import com.fr.design.share.SharableManager; |
|
|
|
|
import com.fr.design.ui.util.UIUtil; |
|
|
|
@ -56,26 +53,14 @@ import com.fr.design.utils.DesignUtils;
|
|
|
|
|
import com.fr.design.utils.DesignerPort; |
|
|
|
|
import com.fr.design.utils.concurrent.ThreadFactoryBuilder; |
|
|
|
|
import com.fr.env.utils.DesignerInteractionHistory; |
|
|
|
|
import com.fr.event.Event; |
|
|
|
|
import com.fr.event.EventDispatcher; |
|
|
|
|
import com.fr.event.Listener; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.log.SystemOutLoggerProvider; |
|
|
|
|
import com.fr.module.Module; |
|
|
|
|
import com.fr.module.ModuleContext; |
|
|
|
|
import com.fr.module.engine.event.LifecycleErrorEvent; |
|
|
|
|
import com.fr.runtime.FineRuntime; |
|
|
|
|
import com.fanruan.product.ProductConstants; |
|
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
import com.fr.stable.lifecycle.FineLifecycleFatalError; |
|
|
|
|
import com.fr.stable.xml.XMLTools; |
|
|
|
|
import com.fr.start.common.DesignerStartupContext; |
|
|
|
|
import com.fr.start.common.SplashCommon; |
|
|
|
|
import com.fr.start.module.StartupArgs; |
|
|
|
|
import com.fr.start.preload.PreLoadService; |
|
|
|
|
import com.fr.start.server.ServerTray; |
|
|
|
|
import com.fr.van.chart.map.server.ChartMapEditorAction; |
|
|
|
|
import com.fr.workspace.WorkContext; |
|
|
|
|
|
|
|
|
@ -115,7 +100,7 @@ public class MainDesigner extends BaseDesigner {
|
|
|
|
|
* |
|
|
|
|
* @param args 参数 |
|
|
|
|
*/ |
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
/* public static void main(String[] args) { |
|
|
|
|
DesignerStartupContext.getRecorder().start(); |
|
|
|
|
// 设置一下默认的logger,启动后再Reset
|
|
|
|
|
FineLoggerFactory.setLogger(SystemOutLoggerProvider.getInstance()); |
|
|
|
@ -162,7 +147,7 @@ public class MainDesigner extends BaseDesigner {
|
|
|
|
|
DesignerLatencyMetric.getInstance().start(); |
|
|
|
|
|
|
|
|
|
installUIDevModeTools(); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 进入UI开发者模式 |
|
|
|
|