Browse Source

Pull request #3223: KERNEL-6380 漏提交代码

Merge in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit '01f5e64443a53f50465830abda0233b1438ef341':
  KERNEL-6380 漏提交代码
feature/big-screen
ju|剧浩宇 4 years ago
parent
commit
4ca00f66b6
  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