updates to create a core directory in users home, added options in ui to allow changes for shell command and xml directory
This commit is contained in:
parent
8864169683
commit
12681b6382
7 changed files with 135 additions and 11 deletions
|
@ -1 +1,2 @@
|
|||
core-rest=http://127.0.0.1:5000
|
||||
core-rest=http://127.0.0.1:5000
|
||||
shell-command=gnome-terminal --window --
|
||||
|
|
32
corefx/src/main/resources/fxml/gui_preferences.fxml
Normal file
32
corefx/src/main/resources/fxml/gui_preferences.fxml
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import com.jfoenix.controls.JFXTextField?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.TitledPane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
|
||||
|
||||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" spacing="10.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<TitledPane animated="false" collapsible="false" text="XML">
|
||||
<content>
|
||||
<VBox spacing="5.0">
|
||||
<children>
|
||||
<Label text="File Path" />
|
||||
<JFXTextField fx:id="xmlFilePathTextField" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</TitledPane>
|
||||
<TitledPane animated="false" collapsible="false" text="Programs">
|
||||
<content>
|
||||
<VBox spacing="5.0">
|
||||
<children>
|
||||
<Label text="Shell Command" />
|
||||
<JFXTextField fx:id="shellCommandTextField" />
|
||||
</children>
|
||||
</VBox>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</children>
|
||||
</VBox>
|
|
@ -33,14 +33,15 @@
|
|||
<items>
|
||||
<MenuItem mnemonicParsing="false" onAction="#onJoinSessionMenu" text="Join" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#onSessionHooksMenu" text="Hooks" />
|
||||
<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="#onOptionsMenuLocation" text="Location" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuBackground" text="Background" />
|
||||
<MenuItem mnemonicParsing="false" onAction="#onOptionsMenuPreferences" text="Preferences" />
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue