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