Browse Source

REPORT-10215

master
ju 6 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(); preloadResource();
//
SplashContext.getInstance().registerSplash(createSplash()); // SplashContext.getInstance().registerSplash(createSplash());
//
SplashContext.getInstance().show(); // SplashContext.getInstance().show();
Module designerRoot = ModuleContext.parseRoot("designer-startup.xml"); Module designerRoot = ModuleContext.parseRoot("designer-startup.xml");
//传递启动参数 //传递启动参数
designerRoot.setSingleton(StartupArgs.class, new StartupArgs(args)); 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(); service.shutdown();
DesignerContext.getDesignerFrame().setVisible(true); DesignerContext.getDesignerFrame().setVisible(true);
//启动画面结束 //启动画面结束
SplashContext.getInstance().hide(); // SplashContext.getInstance().hide();
DesignerContext.getDesignerFrame().getProgressDialog().setVisible(true); DesignerContext.getDesignerFrame().getProgressDialog().setVisible(true);
startSub(StartFinishActivator.class); startSub(StartFinishActivator.class);

Loading…
Cancel
Save