Browse Source

REPORT-10215

master
ju 7 years ago
parent
commit
61717f3ab2
  1. 8
      designer-realize/src/main/java/com/fr/start/Designer.java
  2. 2
      designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

8
designer-realize/src/main/java/com/fr/start/Designer.java

@ -101,10 +101,10 @@ public class Designer extends BaseDesigner {
}
preloadResource();
SplashContext.getInstance().registerSplash(createSplash());
SplashContext.getInstance().show();
//
// SplashContext.getInstance().registerSplash(createSplash());
//
// SplashContext.getInstance().show();
Module designerRoot = ModuleContext.parseRoot("designer-startup.xml");
//传递启动参数
designerRoot.setSingleton(StartupArgs.class, new StartupArgs(args));

2
designer-realize/src/main/java/com/fr/start/module/DesignerStartup.java

@ -59,7 +59,7 @@ public class DesignerStartup extends Activator {
service.shutdown();
DesignerContext.getDesignerFrame().setVisible(true);
//启动画面结束
SplashContext.getInstance().hide();
// SplashContext.getInstance().hide();
DesignerContext.getDesignerFrame().getProgressDialog().setVisible(true);
startSub(StartFinishActivator.class);

Loading…
Cancel
Save