blob: c237f96a9baea96cc6bf1f858d9ad5d3917a69f0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<fx:root prefHeight="623.0" prefWidth="810.0" type="AnchorPane" xmlns="http://javafx.com/javafx/8.0.40" xmlns:fx="http://javafx.com/fxml/1">
<children>
<VBox layoutY="-68.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="623.0" prefWidth="737.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<children>
<Label text="DataNode Configuration">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<GridPane>
<columnConstraints>
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="500.0" />
<ColumnConstraints fillWidth="false" hgrow="ALWAYS" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label alignment="CENTER_RIGHT" text="Name: " />
<TextField fx:id="nameTextField" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" promptText="Data Node Name" GridPane.columnIndex="1" />
<Label text="Development DataSource: " GridPane.rowIndex="2" />
<Label text="Schema Update Strategy: " GridPane.rowIndex="1" />
<ComboBox prefWidth="500.0" promptText="Select Local DataSource (optional)" GridPane.columnIndex="1" GridPane.rowIndex="2" />
<ComboBox fx:id="schemaUpdateStrategyComboBox" editable="true" prefWidth="500.0" promptText="Enter or Choose..." GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Button fx:id="configureDevelopmentDataSourceButton" mnemonicParsing="false" text="..." GridPane.columnIndex="2" GridPane.rowIndex="2">
<GridPane.margin>
<Insets left="10.0" />
</GridPane.margin>
<tooltip>
<Tooltip text="Open Cayenne preferences to create and configure a local development DataSource entry." />
</tooltip></Button>
<Label text="DataSource Factory: " GridPane.rowIndex="3" />
<ComboBox fx:id="dataSourceFactoryComboBox" prefWidth="500.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
</children>
<padding>
<Insets bottom="20.0" />
</padding>
</GridPane>
<VBox prefHeight="200.0" prefWidth="100.0" VBox.vgrow="ALWAYS">
<children>
<GridPane fx:id="jdbcConfigurationGrid">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="400.0" />
<ColumnConstraints />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="JDBC Configuration" GridPane.vgrow="ALWAYS">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<Label text="JDBC Driver: " GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
<Label text="Database URL: " GridPane.halignment="RIGHT" GridPane.rowIndex="2" />
<Label text="Username: " GridPane.halignment="RIGHT" GridPane.rowIndex="3" />
<Label text="Password: " GridPane.halignment="RIGHT" GridPane.rowIndex="4" />
<Label text="Minimum Connections: " GridPane.halignment="RIGHT" GridPane.rowIndex="5" />
<Label text="Maximum Connections: " GridPane.halignment="RIGHT" GridPane.rowIndex="6" />
<PasswordField maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" promptText="Super Secret Password" GridPane.columnIndex="1" GridPane.rowIndex="4" />
<TextField promptText="some.package.here.ClassName" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="1" />
<TextField promptText="jdbc://........" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="2" />
<TextField maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" promptText="Database Username" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Button mnemonicParsing="false" prefWidth="300.0" text="Syncronize with Development DataSource" GridPane.columnIndex="1" />
<Spinner fx:id="minimumConnectionsSpinner" editable="true" minWidth="-Infinity" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Spinner fx:id="maximumConnectionsSpinner" editable="true" minWidth="-Infinity" prefWidth="100.0" GridPane.columnIndex="1" GridPane.rowIndex="6" />
</children>
</GridPane>
<GridPane fx:id="jndiConfigurationGrid">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="300.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="JNDI Configuration">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<Label text="JNDI Location: " GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
<TextField promptText="jdbc/jndi_location_name" GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</GridPane>
<GridPane fx:id="dbcpConfigurationGrid">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="200.0" />
<ColumnConstraints hgrow="SOMETIMES" maxWidth="-Infinity" minWidth="-Infinity" prefWidth="300.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Label text="Apache DBCP2 Configuration" GridPane.columnSpan="2">
<font>
<Font name="System Bold" size="18.0" />
</font>
</Label>
<Label text="DBCP2 Properties File: " GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
<TextField promptText="Path to DBCP properties file..." GridPane.columnIndex="1" GridPane.rowIndex="1" />
</children>
</GridPane>
</children>
</VBox>
</children>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
</VBox>
</children>
</fx:root>