|
|
@ -113,6 +113,11 @@ public class DesignerInitComponent { |
|
|
|
suspendRecorder(context); |
|
|
|
suspendRecorder(context); |
|
|
|
Carina.getApplicationContext().group(ActivatorContextGroup.class).add(activatorContext); |
|
|
|
Carina.getApplicationContext().group(ActivatorContextGroup.class).add(activatorContext); |
|
|
|
PreLoadService.getInstance().waitForUI(); |
|
|
|
PreLoadService.getInstance().waitForUI(); |
|
|
|
|
|
|
|
initUIUtilsTask(context); |
|
|
|
|
|
|
|
waitSubTask(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void initUIUtilsTask(DesignerStartupContext context) { |
|
|
|
UIUtil.invokeLaterIfNeeded(() -> { |
|
|
|
UIUtil.invokeLaterIfNeeded(() -> { |
|
|
|
StartupPageModel model = StartupPageModel.create(); |
|
|
|
StartupPageModel model = StartupPageModel.create(); |
|
|
|
context.setStartupPageModel(model); |
|
|
|
context.setStartupPageModel(model); |
|
|
@ -147,7 +152,6 @@ public class DesignerInitComponent { |
|
|
|
context.setOnWaiting(true); |
|
|
|
context.setOnWaiting(true); |
|
|
|
suspendWatch.start(); |
|
|
|
suspendWatch.start(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
waitSubTask(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void suspendRecorder(DesignerStartupContext context) { |
|
|
|
private void suspendRecorder(DesignerStartupContext context) { |
|
|
|