Browse Source

Merge pull request #3227 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit 'ff6514e96a53637d7fc859a73a0469c7e338ba68':
  KERNEL-6380 漏提交代码
research/11.0
superman 4 years ago
parent
commit
54d8d6e96c
  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;
import com.fr.concurrent.NamedThreadFactory;
import com.fr.design.PluginRefreshManager;
import com.fr.design.PluginClassRefreshManager;
import com.fr.design.file.HistoryTemplateListCache;
import com.fr.event.Event;
import com.fr.event.Listener;
@ -51,7 +51,7 @@ public class DesignerWorkspaceActivator extends Activator {
@Override
public void on(Event event, Workspace workspace) {
PluginRefreshManager.getInstance().removePluginListener();
PluginClassRefreshManager.getInstance().removePluginListener();
HistoryTemplateListCache.getInstance().stash();
}
});
@ -63,7 +63,7 @@ public class DesignerWorkspaceActivator extends Activator {
public void on(Event event, Workspace workspace) {
HistoryTemplateListCache.getInstance().load();
PluginRefreshManager.getInstance().addPluginListener();
PluginClassRefreshManager.getInstance().addPluginListener();
}
});
}

Loading…
Cancel
Save