|
|
|
@ -145,7 +145,11 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initAndStartPlugin() { |
|
|
|
|
initPluginPane(); |
|
|
|
|
// 启动设计器的时候不加载插件内容,插件引擎监听会加载一次
|
|
|
|
|
boolean init = (DesignerContext.getDesignerFrame() != null && DesignerContext.getDesignerFrame().isDesignerOpened()) || DesignerEnvManager.getEnvManager().isEmbedServerLazyStartup(); |
|
|
|
|
if (init) { |
|
|
|
|
initPluginPane(); |
|
|
|
|
} |
|
|
|
|
startListenPlugin(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|