Browse Source

REPORT-127437 feat:响应插件安装卸载事件

newui
lemon 4 months ago
parent
commit
2e9a4c6ee1
  1. 8
      designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java
  2. 8
      designer-base/src/main/java/com/fr/design/mainframe/CenterRegionContainerPane.java

8
designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

@ -202,6 +202,14 @@ public class MultiTemplateTabPane extends Row {
); );
} }
/**
* 重置多工作簿面板
*/
public void resetMultiTemplateTabPane() {
preProcessMultiTemplateTabPane();
MultiTemplateTabPane.getInstance().repaint();
}
private void preProcessMultiTemplateTabPane() { private void preProcessMultiTemplateTabPane() {
updateLeadingToolBar(); updateLeadingToolBar();
} }

8
designer-base/src/main/java/com/fr/design/mainframe/CenterRegionContainerPane.java

@ -121,6 +121,13 @@ public class CenterRegionContainerPane extends JPanel {
plus.insertToCombineUpToolbar(combineUp); plus.insertToCombineUpToolbar(combineUp);
} }
/**
* 重置多工作簿面板
*/
private void resetMultiTemplateTablePane() {
MultiTemplateTabPane.getInstance().resetMultiTemplateTabPane();
}
/** /**
* 填充上工具栏的中的工具 * 填充上工具栏的中的工具
@ -219,6 +226,7 @@ public class CenterRegionContainerPane extends JPanel {
*/ */
protected void resetToolkitByPlus(ToolBarMenuDockPlus plus, ToolBarMenuDock ad, ToolKitConfigStrategy strategy) { protected void resetToolkitByPlus(ToolBarMenuDockPlus plus, ToolBarMenuDock ad, ToolKitConfigStrategy strategy) {
resetMultiTemplateTablePane();
resetCombineUpTooBar(ad.resetUpToolBar(plus), plus); resetCombineUpTooBar(ad.resetUpToolBar(plus), plus);
if (toolbarComponent != null) { if (toolbarComponent != null) {

Loading…
Cancel
Save