disable menu items when work in progress (they were already not working), consistent action handler method names

This commit is contained in:
honfika@gmail.com
2015-05-24 16:49:58 +02:00
parent b18d909c80
commit cba3d0328a
19 changed files with 1575 additions and 1556 deletions

View File

@@ -40,16 +40,18 @@ public class MainFrameClassicMenu extends MainFrameMenu {
private final MainFrameClassic mainFrame;
private final Map<String, MenuElement> menuElements = new HashMap<>();
private final Map<String, Set<String>> menuGroups = new HashMap<>();
private final Map<String, ButtonGroup> menuButtonGroups = new HashMap<>();
public MainFrameClassicMenu(MainFrameClassic mainFrame, boolean externalFlashPlayerUnavailable) {
super(mainFrame, externalFlashPlayerUnavailable);
this.mainFrame = mainFrame;
}
private final Map<String, MenuElement> menuElements = new HashMap<>();
private final Map<String, Set<String>> menuGroups = new HashMap<>();
private final Map<String, ButtonGroup> menuButtonGroups = new HashMap<>();
private void addMenu(String path, String title, String icon, final ActionListener subLoader) {
path = mapping(path);
final String fpath = path;
@@ -345,5 +347,4 @@ public class MainFrameClassicMenu extends MainFrameMenu {
}
return s;
}
}