mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 19:54:37 +00:00
disable menu items when work in progress (they were already not working), consistent action handler method names
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user