|
|
|
@ -11,6 +11,7 @@ import com.fr.design.mainframe.toolbar.ToolBarMenuDock;
|
|
|
|
|
import com.fr.design.mainframe.toolbar.ToolBarMenuDockPlus; |
|
|
|
|
import com.fr.design.menu.MenuManager; |
|
|
|
|
import com.fr.design.os.impl.SupportOSImpl; |
|
|
|
|
import com.fr.event.EventDispatcher; |
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
|
import com.fr.plugin.context.PluginContext; |
|
|
|
|
import com.fr.plugin.injectable.PluginModule; |
|
|
|
@ -100,8 +101,7 @@ public class NorthRegionContainerPane extends JPanel {
|
|
|
|
|
//优先级为-1,保证最后全面刷新一次
|
|
|
|
|
GeneralContext.listenPluginRunningChanged(pluginOnRunOrStopListener, pluginFilter); |
|
|
|
|
// 在设计器启动时仅在最后一个插件启用时候进行刷新一次 如果插件启用过程中存在实现了设计器接口的插件
|
|
|
|
|
boolean needRefresh = DesignerContext.getDesignerFrame() != null && DesignerContext.getDesignerFrame().isVisible() && existDesignExtraPlugin; |
|
|
|
|
if (needRefresh) { |
|
|
|
|
if (existDesignExtraPlugin) { |
|
|
|
|
refreshAll(northEastPane, ad); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|