|
17 | 17 | <?import javafx.scene.layout.ColumnConstraints?>
|
18 | 18 | <?import javafx.scene.layout.GridPane?>
|
19 | 19 | <?import javafx.scene.layout.RowConstraints?>
|
20 |
| -<?import javafx.scene.text.Font?> |
21 |
| -<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="450.0" style="-fx-font-family: verdana; -fx-font-size: 12;" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.github.introfog.gitwave.controller.main.MainController"> |
| 20 | +<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="300.0" prefWidth="450.0" style="-fx-font-family: sanserif; -fx-font-size: 13;" xmlns="http://javafx.com/javafx/17.0.12" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.github.introfog.gitwave.controller.main.MainController"> |
22 | 21 | <children>
|
23 | 22 | <GridPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
24 | 23 | <columnConstraints>
|
|
49 | 48 | <content>
|
50 | 49 | <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
51 | 50 | <children>
|
52 |
| - <Label layoutX="21.0" layoutY="20.0" prefHeight="18.0" prefWidth="282.0" text="Choose directory where command will be run" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0"> |
53 |
| - <font> |
54 |
| - <Font name="Verdana" size="12.0" /> |
55 |
| - </font></Label> |
56 |
| - <TextField fx:id="directory" layoutY="40.0" prefHeight="25.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="40.0"> |
57 |
| - <font> |
58 |
| - <Font name="Verdana" size="12.0" /> |
59 |
| - </font></TextField> |
60 |
| - <Button layoutX="20.0" layoutY="84.0" mnemonicParsing="false" onAction="#browseDirectory" text="Browse" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="80.0"> |
61 |
| - <font> |
62 |
| - <Font name="Verdana" size="12.0" /> |
63 |
| - </font></Button> |
| 51 | + <Label layoutX="21.0" layoutY="20.0" prefHeight="18.0" prefWidth="282.0" text="Choose directory where command will be run" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0" /> |
| 52 | + <TextField fx:id="directory" layoutY="40.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="40.0" /> |
| 53 | + <Button layoutX="20.0" layoutY="84.0" mnemonicParsing="false" onAction="#browseDirectory" text="Browse" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="80.0" /> |
64 | 54 | </children>
|
65 | 55 | </AnchorPane>
|
66 | 56 | </content>
|
|
69 | 59 | <content>
|
70 | 60 | <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
71 | 61 | <children>
|
72 |
| - <Label text="Command*" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0"> |
73 |
| - <font> |
74 |
| - <Font name="Verdana" size="12.0" /> |
75 |
| - </font></Label> |
76 |
| - <TextField fx:id="command" layoutY="37.0" prefHeight="25.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="40.0"> |
77 |
| - <font> |
78 |
| - <Font name="Verdana" size="12.0" /> |
79 |
| - </font></TextField> |
80 |
| - <Label layoutX="8.0" layoutY="71.0" text="Description" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="80.0"> |
81 |
| - <font> |
82 |
| - <Font name="Verdana" size="12.0" /> |
83 |
| - </font></Label> |
84 |
| - <TextField fx:id="description" layoutY="88.0" prefHeight="25.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="100.0"> |
85 |
| - <font> |
86 |
| - <Font name="Verdana" size="12.0" /> |
87 |
| - </font></TextField> |
88 |
| - <Button fx:id="save" disable="true" layoutX="48.0" layoutY="138.0" mnemonicParsing="false" onAction="#saveOrEditCommand" text="Save" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="140.0"> |
89 |
| - <font> |
90 |
| - <Font name="Verdana" size="12.0" /> |
91 |
| - </font></Button> |
92 |
| - <Button layoutX="130.0" layoutY="138.0" mnemonicParsing="false" onAction="#chooseFromSaved" text="Choose from saved" AnchorPane.rightAnchor="80.0" AnchorPane.topAnchor="140.0"> |
93 |
| - <font> |
94 |
| - <Font name="Verdana" size="12.0" /> |
95 |
| - </font></Button> |
96 |
| - <Button layoutX="287.0" layoutY="138.0" mnemonicParsing="false" onAction="#reset" text="Reset" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="140.0"> |
97 |
| - <font> |
98 |
| - <Font name="Verdana" size="12.0" /> |
99 |
| - </font></Button> |
| 62 | + <Label text="Command*" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0" /> |
| 63 | + <TextField fx:id="command" layoutY="37.0" prefHeight="25.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="40.0" /> |
| 64 | + <Label layoutX="8.0" layoutY="71.0" text="Description" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="80.0" /> |
| 65 | + <TextField fx:id="description" layoutY="88.0" prefHeight="25.0" prefWidth="378.0" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="100.0" /> |
| 66 | + <Button fx:id="save" disable="true" layoutX="48.0" layoutY="138.0" mnemonicParsing="false" onAction="#saveOrEditCommand" text="Save" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="140.0" /> |
| 67 | + <Button layoutX="130.0" layoutY="138.0" mnemonicParsing="false" onAction="#chooseFromSaved" text="Choose from saved" AnchorPane.rightAnchor="80.0" AnchorPane.topAnchor="140.0" /> |
| 68 | + <Button layoutX="287.0" layoutY="138.0" mnemonicParsing="false" onAction="#reset" text="Reset" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="140.0" /> |
100 | 69 | </children>
|
101 | 70 | </AnchorPane>
|
102 | 71 | </content>
|
|
105 | 74 | <content>
|
106 | 75 | <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
|
107 | 76 | <children>
|
108 |
| - <TableView fx:id="parametersTable" disable="true" editable="true" layoutX="91.0" layoutY="-18.0" prefHeight="200.0" prefWidth="200.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
| 77 | + <TableView fx:id="parametersTable" disable="true" editable="true" fixedCellSize="32.0" layoutX="91.0" layoutY="-18.0" prefHeight="200.0" prefWidth="200.0" style="-fx-alignment: center-left;" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> |
109 | 78 | <columns>
|
110 | 79 | <TableColumn editable="false" minWidth="100.0" prefWidth="75.0" text="Name" />
|
111 | 80 | <TableColumn minWidth="100.0" prefWidth="75.0" text="Value" />
|
|
114 | 83 | <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
|
115 | 84 | </columnResizePolicy>
|
116 | 85 | </TableView>
|
117 |
| - <Label fx:id="parametersText" layoutX="28.0" layoutY="14.0" prefHeight="50.0" prefWidth="418.0" text="Current command doesn't define any parameters. Enter your parameter in the format {parameterName}. Ensure that parameterName is not empty and doesn't contain spaces." wrapText="true" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="20.0" /> |
| 86 | + <Label fx:id="parametersText" layoutX="28.0" layoutY="14.0" prefWidth="418.0" text="Current command doesn't define any parameters. Enter your parameter in the format {parameterName}. Ensure that parameterName is not empty and doesn't contain spaces." wrapText="true" AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="20.0" /> |
118 | 87 | </children></AnchorPane>
|
119 | 88 | </content>
|
120 | 89 | </Tab>
|
121 | 90 | </tabs>
|
122 | 91 | </TabPane>
|
123 | 92 | <AnchorPane prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="2" GridPane.vgrow="NEVER">
|
124 | 93 | <children>
|
125 |
| - <Button layoutX="386.0" layoutY="36.0" mnemonicParsing="false" onAction="#runCommand" text="4. Run" AnchorPane.bottomAnchor="20.0" AnchorPane.rightAnchor="20.0"> |
126 |
| - <font> |
127 |
| - <Font name="Verdana" size="12.0" /> |
128 |
| - </font></Button> |
129 |
| - <Hyperlink focusTraversable="false" layoutY="25.0" onAction="#foundIssue" text="Found an issue?" AnchorPane.bottomAnchor="5.0" AnchorPane.leftAnchor="5.0"> |
130 |
| - <font> |
131 |
| - <Font name="Verdana" size="12.0" /> |
132 |
| - </font></Hyperlink> |
| 94 | + <Button layoutX="386.0" layoutY="36.0" mnemonicParsing="false" onAction="#runCommand" text="4. Run" AnchorPane.bottomAnchor="20.0" AnchorPane.rightAnchor="20.0" /> |
| 95 | + <Hyperlink focusTraversable="false" layoutY="25.0" onAction="#foundIssue" text="Found an issue?" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" /> |
133 | 96 | <Separator layoutY="17.0" prefWidth="200.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
134 | 97 | </children>
|
135 | 98 | </AnchorPane>
|
|
0 commit comments