Browse Source

KERNEL-6380 漏提交代码

feature/big-screen
hades 4 years ago
parent
commit
01f5e64443
  1. 6
      designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceActivator.java

6
designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceActivator.java

@ -1,7 +1,7 @@
package com.fr.start.module; package com.fr.start.module;
import com.fr.concurrent.NamedThreadFactory; import com.fr.concurrent.NamedThreadFactory;
import com.fr.design.PluginRefreshManager; import com.fr.design.PluginClassRefreshManager;
import com.fr.design.file.HistoryTemplateListCache; import com.fr.design.file.HistoryTemplateListCache;
import com.fr.event.Event; import com.fr.event.Event;
import com.fr.event.Listener; import com.fr.event.Listener;
@ -51,7 +51,7 @@ public class DesignerWorkspaceActivator extends Activator {
@Override @Override
public void on(Event event, Workspace workspace) { public void on(Event event, Workspace workspace) {
PluginRefreshManager.getInstance().removePluginListener(); PluginClassRefreshManager.getInstance().removePluginListener();
HistoryTemplateListCache.getInstance().stash(); HistoryTemplateListCache.getInstance().stash();
} }
}); });
@ -63,7 +63,7 @@ public class DesignerWorkspaceActivator extends Activator {
public void on(Event event, Workspace workspace) { public void on(Event event, Workspace workspace) {
HistoryTemplateListCache.getInstance().load(); HistoryTemplateListCache.getInstance().load();
PluginRefreshManager.getInstance().addPluginListener(); PluginClassRefreshManager.getInstance().addPluginListener();
} }
}); });
} }

Loading…
Cancel
Save