Browse Source

REPORT-72851 TitlePlaceProcessor 11.0.2之后版本不生效了

release/11.0
hades 2 years ago
parent
commit
6866b496a0
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/NorthRegionContainerPane.java

4
designer-base/src/main/java/com/fr/design/mainframe/NorthRegionContainerPane.java

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

Loading…
Cancel
Save