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