|
|
|
@ -42,14 +42,14 @@ public class PluginClassRefreshManager {
|
|
|
|
|
private final PluginEventListener beforeAllPluginActive = new PluginEventListener() { |
|
|
|
|
@Override |
|
|
|
|
public void on(PluginEvent event) { |
|
|
|
|
removePluginListener(); |
|
|
|
|
PluginListenerRegistration.getInstance().stopListen(pluginAfterRunEventListener); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
private final PluginEventListener afterAllPluginsActive = new PluginEventListener() { |
|
|
|
|
@Override |
|
|
|
|
public void on(PluginEvent event) { |
|
|
|
|
addPluginListener(); |
|
|
|
|
PluginListenerRegistration.getInstance().listen(PluginEventType.AfterRun, pluginAfterRunEventListener); |
|
|
|
|
if (DesignerLaunchStatus.getStatus() != DesignerLaunchStatus.WORKSPACE_INIT_COMPLETE) { |
|
|
|
|
HistoryTemplateListCache.getInstance().reloadAllEditingTemplate(); |
|
|
|
|
} |
|
|
|
|