|
3 | 3 | <?language javascript ?> |
4 | 4 |
|
5 | 5 | <?import edu.wpi.grip.ui.util.DPIUtility?> |
| 6 | +<?import edu.wpi.grip.ui.DeployController?> |
6 | 7 | <?import javafx.scene.control.*?> |
7 | 8 | <?import javafx.scene.image.Image?> |
8 | 9 | <?import javafx.scene.image.ImageView?> |
|
15 | 16 | <ColumnConstraints hgrow="ALWAYS"/> |
16 | 17 | </columnConstraints> |
17 | 18 |
|
18 | | - <Label disable="${address.disabled}" text="Address" GridPane.columnIndex="0" GridPane.rowIndex="0"/> |
19 | | - <TextField fx:id="address" promptText="Address" GridPane.columnIndex="1" GridPane.rowIndex="0"/> |
| 19 | + <Label disable="${deployButton.disabled}" text="Address" GridPane.columnIndex="0" GridPane.rowIndex="0"/> |
| 20 | + <TextField disable="${deployButton.disabled}" fx:id="address" promptText="Address" GridPane.columnIndex="1" |
| 21 | + GridPane.rowIndex="0"/> |
20 | 22 |
|
21 | | - <Label disable="${user.disabled}" text="User" GridPane.columnIndex="0" GridPane.rowIndex="1"/> |
22 | | - <TextField fx:id="user" promptText="User" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
| 23 | + <Label disable="${deployButton.disabled}" text="User" GridPane.columnIndex="0" GridPane.rowIndex="1"/> |
| 24 | + <TextField disable="${deployButton.disabled}" fx:id="user" promptText="User" GridPane.columnIndex="1" |
| 25 | + GridPane.rowIndex="1"> |
| 26 | + <text> |
| 27 | + <DeployController fx:constant="DEFAULT_USER"/> |
| 28 | + </text> |
| 29 | + </TextField> |
23 | 30 |
|
24 | | - <Label disable="${password.disabled}" text="Password" GridPane.columnIndex="0" GridPane.rowIndex="2"/> |
25 | | - <PasswordField fx:id="password" promptText="Password" GridPane.columnIndex="1" GridPane.rowIndex="2"/> |
| 31 | + <Label disable="${deployButton.disabled}" text="Password" GridPane.columnIndex="0" GridPane.rowIndex="2"/> |
| 32 | + <PasswordField disable="${deployButton.disabled}" fx:id="password" promptText="Password" |
| 33 | + GridPane.columnIndex="1" GridPane.rowIndex="2"/> |
26 | 34 |
|
27 | | - <Label disable="${javaHome.disabled}" text="Java Home" GridPane.columnIndex="0" GridPane.rowIndex="3"/> |
28 | | - <TextField fx:id="javaHome" promptText="Java Home" GridPane.columnIndex="1" GridPane.rowIndex="3"/> |
| 35 | + <Label disable="${deployButton.disabled}" text="Java Home" GridPane.columnIndex="0" GridPane.rowIndex="3"/> |
| 36 | + <TextField disable="${deployButton.disabled}" fx:id="javaHome" promptText="Java Home" |
| 37 | + GridPane.columnIndex="1" GridPane.rowIndex="3"> |
| 38 | + <text> |
| 39 | + <DeployController fx:constant="DEFAULT_JAVA_HOME"/> |
| 40 | + </text> |
| 41 | + </TextField> |
29 | 42 |
|
30 | | - <Label disable="${deployDir.disabled}" text="Deploy Directory" GridPane.columnIndex="0" GridPane.rowIndex="4"/> |
31 | | - <TextField fx:id="deployDir" promptText="Deploy Directory" GridPane.columnIndex="1" GridPane.rowIndex="4"/> |
| 43 | + <Label disable="${deployButton.disabled}" text="Deploy Directory" GridPane.columnIndex="0" |
| 44 | + GridPane.rowIndex="4"/> |
| 45 | + <TextField disable="${deployButton.disabled}" fx:id="deployDir" promptText="Deploy Directory" |
| 46 | + GridPane.columnIndex="1" GridPane.rowIndex="4"> |
| 47 | + <text> |
| 48 | + <DeployController fx:constant="DEFAULT_DIR"/> |
| 49 | + </text> |
| 50 | + </TextField> |
32 | 51 | </GridPane> |
33 | 52 |
|
34 | 53 | <ButtonBar> |
|
0 commit comments