corefx - consolidated menu bar

This commit is contained in:
Blake J. Harnden 2018-11-26 10:54:34 -08:00
parent bd1edabb7c
commit 61f80ffb9c
2 changed files with 10 additions and 26 deletions

View file

@ -1,12 +0,0 @@
package com.core.client.rest;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
public class GetSessionsData {
private Integer id;
private Integer state;
private Integer nodes;
}

View file

@ -18,17 +18,20 @@
<children>
<MenuBar>
<menus>
<Menu mnemonicParsing="false" text="Main">
<Menu mnemonicParsing="false" text="Menu">
<items>
<MenuItem mnemonicParsing="false" onAction="#onCoreMenuConnect" text="Connection" />
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem fx:id="saveXmlMenuItem" disable="true" mnemonicParsing="false" onAction="#onSaveXmlAction" text="Save XML" />
<MenuItem mnemonicParsing="false" onAction="#onOpenXmlAction" text="Open XML" />
</items>
</Menu>
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuNodeTypes" text="Nodes" />
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuBackground" text="Background" />
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuPreferences" text="Preferences" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem fx:id="saveXmlMenuItem" disable="true" mnemonicParsing="false" onAction="#onSaveXmlAction" text="Save XML" />
<MenuItem mnemonicParsing="false" onAction="#onOpenXmlAction" text="Open XML" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Session">
<items>
<MenuItem mnemonicParsing="false" onAction="#onJoinSessionMenu" text="Join" />
@ -36,13 +39,6 @@
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuLocation" text="Location" />
<MenuItem mnemonicParsing="false" onAction="#onSessionOptionsMenu" text="Options" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Options">
<items>
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuNodeTypes" text="Nodes" />
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuBackground" text="Background" />
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuPreferences" text="Preferences" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Help">
<items>