|
|
|
@ -120,7 +120,7 @@ public abstract class ToolBarMenuDock {
|
|
|
|
|
///////////////////////////////menu below/////////////////////////////////////////////////
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
private MenuDef[] menus(final ToolBarMenuDockPlus plus) { |
|
|
|
|
public MenuDef[] menus(final ToolBarMenuDockPlus plus) { |
|
|
|
|
java.util.List<MenuDef> menuList = new java.util.ArrayList<MenuDef>(); |
|
|
|
|
// 添加文件菜单
|
|
|
|
|
menuList.add(createFileMenuDef(plus)); |
|
|
|
@ -326,7 +326,7 @@ public abstract class ToolBarMenuDock {
|
|
|
|
|
shortCuts.add(new SignAction()); |
|
|
|
|
return shortCuts.toArray(new ShortCut[shortCuts.size()]); |
|
|
|
|
} |
|
|
|
|
private MenuDef createHelpMenuDef() { |
|
|
|
|
public MenuDef createHelpMenuDef() { |
|
|
|
|
MenuDef menuDef = new MenuDef(Inter.getLocText("FR-Designer_Help"), 'H'); |
|
|
|
|
ShortCut[] otherHelpShortCuts = createHelpShortCuts(); |
|
|
|
|
for (ShortCut shortCut : otherHelpShortCuts) { |
|
|
|
@ -335,7 +335,7 @@ public abstract class ToolBarMenuDock {
|
|
|
|
|
insertMenu(menuDef, MenuHandler.HELP); |
|
|
|
|
return menuDef; |
|
|
|
|
} |
|
|
|
|
private MenuDef createCommunityMenuDef() { |
|
|
|
|
public MenuDef createCommunityMenuDef() { |
|
|
|
|
MenuDef menuDef = new MenuDef(Inter.getLocText("FR-Designer_COMMUNITY"), 'C'); |
|
|
|
|
ShortCut[] otherCommunityShortCuts = createCommunityShortCuts(); |
|
|
|
|
for (ShortCut shortCut : otherCommunityShortCuts) { |
|
|
|
|