| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.effect.*?>
- <?import javafx.scene.text.*?>
- <?import javafx.geometry.*?>
- <?import java.lang.*?>
- <?import java.util.*?>
- <?import javafx.scene.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.layout.*?>
- <BorderPane fx:id="paneRoot" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="640.0" prefWidth="860.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.persagy.dptool.PrimaryController">
- <top>
- <MenuBar BorderPane.alignment="CENTER">
- <menus>
- <Menu mnemonicParsing="false" text="Help">
- <items>
- <MenuItem mnemonicParsing="false" text="Help" />
- <SeparatorMenuItem mnemonicParsing="false" />
- <MenuItem mnemonicParsing="false" text="About" />
- </items>
- </Menu>
- </menus>
- </MenuBar>
- </top>
- <center>
- <TabPane fx:id="paneTab" prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" BorderPane.alignment="CENTER">
- <tabs>
- <Tab text="配置校验">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <Label layoutX="12.0" layoutY="14.0" prefHeight="26.0" prefWidth="128.0" text="数据平台配置目录:" />
- <TextField fx:id="txfDir" layoutX="138.0" layoutY="12.0" prefHeight="30.0" prefWidth="592.0" promptText="D:/develop/tomcat9/webapps/data-platform-3/WEB-INF/classes/" />
- <Button fx:id="btnSelectDir" layoutX="733.0" layoutY="12.0" mnemonicParsing="false" onAction="#selectDir" text="···" />
- <Button fx:id="btnCheck" layoutX="776.0" layoutY="12.0" mnemonicParsing="false" onAction="#checkConfig" text="校验" />
- <Label layoutX="138.0" layoutY="49.0" prefHeight="20.0" prefWidth="644.0" text="注: 路径为数据平台配置文件config.properties所在目录" textFill="#7c7c7c">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <StackPane layoutX="79.0" layoutY="98.0" prefHeight="437.0" prefWidth="746.0">
- <children>
- <FlowPane orientation="VERTICAL" prefHeight="200.0" prefWidth="200.0" vgap="20.0">
- <opaqueInsets>
- <Insets bottom="3.0" left="3.0" right="3.0" top="3.0" />
- </opaqueInsets>
- <children>
- <TextArea fx:id="txaContent" editable="false" prefHeight="436.0" prefWidth="747.0" wrapText="true" />
- </children>
- </FlowPane>
- </children>
- </StackPane>
- <Label layoutX="9.0" layoutY="96.0" prefHeight="20.0" prefWidth="70.0" text="校验结果:" />
- </children>
- </AnchorPane>
- </content>
- </Tab>
- <Tab text="物理世界">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
- <children>
- <Label layoutX="9.0" layoutY="56.0" prefHeight="26.0" prefWidth="98.0" text="json文件目录:" textAlignment="RIGHT" />
- <TextField fx:id="txfDirJson" layoutX="107.0" layoutY="54.0" prefHeight="30.0" prefWidth="620.0" />
- <Button fx:id="btnSelecDirJson" layoutX="731.0" layoutY="54.0" mnemonicParsing="false" onAction="#selectDirJson" text="···" />
- <Button fx:id="btnCheckJson" layoutX="777.0" layoutY="54.0" mnemonicParsing="false" onAction="#checkJsonFile" text="校验" />
- <Label layoutX="107.0" layoutY="84.0" prefHeight="27.0" prefWidth="666.0" text="注: 只识别由HbaseCat工具导出的json文件,只能校验物理世界相关数据表,json文件名应与表名一致。" textFill="#7c7c7c">
- <font>
- <Font size="14.0" />
- </font>
- </Label>
- <StackPane layoutX="107.0" layoutY="133.0" prefHeight="349.0" prefWidth="720.0">
- <children>
- <FlowPane prefHeight="375.0" prefWidth="645.0">
- <children>
- <TextArea fx:id="txaContentJson" editable="false" prefHeight="401.0" prefWidth="720.0" wrapText="true" />
- </children>
- </FlowPane>
- </children>
- </StackPane>
- <Label layoutX="9.0" layoutY="133.0" prefHeight="20.0" prefWidth="98.0" text="校验结果概况:" />
- <Label layoutX="55.0" layoutY="14.0" prefHeight="20.0" prefWidth="53.0" text="项目id: " textAlignment="RIGHT" />
- <TextField fx:id="txfProject" layoutX="107.0" layoutY="9.0" prefHeight="30.0" prefWidth="138.0" promptText="Pj1101010001" />
- <Label layoutX="266.0" layoutY="14.0" text="存放结果文件: " />
- <TextField fx:id="txfCheckResultFile" layoutX="366.0" layoutY="9.0" prefHeight="30.0" prefWidth="426.0" />
- <Button layoutX="796.0" layoutY="9.0" mnemonicParsing="false" text="···" />
- </children></AnchorPane>
- </content>
- </Tab>
- <Tab text="其他">
- <content>
- <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0" />
- </content>
- </Tab>
- </tabs>
- </TabPane>
- </center>
- <bottom>
- <HBox prefHeight="35.0" prefWidth="800.0" BorderPane.alignment="CENTER">
- <children>
- <ProgressIndicator fx:id="piState" prefHeight="26.0" prefWidth="30.0" progress="0.0">
- <cursor>
- <Cursor fx:constant="NONE" />
- </cursor>
- </ProgressIndicator>
- <Label fx:id="lblState" prefHeight="35.0" prefWidth="762.0">
- <HBox.margin>
- <Insets left="3.0" />
- </HBox.margin>
- </Label>
- </children>
- <BorderPane.margin>
- <Insets left="5.0" />
- </BorderPane.margin>
- </HBox>
- </bottom>
- </BorderPane>
|