|
|
|
@ -30,6 +30,7 @@ import com.fr.design.gui.imenu.UIPopupMenu;
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.ActiveKeyGenerator; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.DesignerUIModeConfig; |
|
|
|
|
import com.fr.design.mainframe.InformationCollector; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
import com.fr.design.mainframe.JWorkBook; |
|
|
|
@ -158,9 +159,18 @@ public class MainDesigner extends BaseDesigner {
|
|
|
|
|
FineLoggerFactory.getLogger().info("Designer started.Time used {} ms", DesignerStartupContext.getRecorder().getTime(TimeUnit.MILLISECONDS)); |
|
|
|
|
DesignerStartupContext.getRecorder().stop(); |
|
|
|
|
SwitchForSwingChecker.initThreadMonitoring(); |
|
|
|
|
// new UiInspector();
|
|
|
|
|
// EdtInvocationManager.installEDTCheckers();
|
|
|
|
|
DesignerLatencyMetric.getInstance().start(); |
|
|
|
|
|
|
|
|
|
installUIDevModeTools(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 进入UI开发者模式 |
|
|
|
|
*/ |
|
|
|
|
private static void installUIDevModeTools() { |
|
|
|
|
if (DesignerUIModeConfig.getInstance().isUIDevMode()) { |
|
|
|
|
new UiInspector(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|