Browse Source

REPORT-5840 控件生成和使用填报功能

master
MoMeak 7 years ago
parent
commit
e45eb353fe
  1. 6
      designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

6
designer_base/src/com/fr/design/mainframe/toolbar/ToolBarMenuDock.java

@ -180,6 +180,7 @@ public abstract class ToolBarMenuDock {
this.menus = menus(plus);
for (int i = 0; i < menus.length; i++) {
menus[i].setHasRecMenu(true);
UIMenu subMenu = menus[i].createJMenu();
jMenuBar.add(subMenu);
menus[i].updateMenu();
@ -228,11 +229,6 @@ public abstract class ToolBarMenuDock {
addAllUpdateActionsToList(menuList);
UpdateActionManager.getUpdateActionManager().setUpdateActions(shortCutsList);
for (MenuDef menuDef : menuList
) {
menuDef.setHasRecMenu(true);
}
return menuList.toArray(new MenuDef[menuList.size()]);
}

Loading…
Cancel
Save