|
|
@ -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(); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|