Browse Source

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

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

Loading…
Cancel
Save