50 lines
3.8 KiB
XML
50 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.ComboBox?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.ListView?>
|
|
<?import javafx.scene.control.Separator?>
|
|
<?import javafx.scene.control.TextField?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane prefHeight="649.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.tools.controller.MybatisPlusGenerator">
|
|
<children>
|
|
<Label layoutX="74.0" layoutY="192.0" text="作者:" />
|
|
<Label layoutX="289.0" layoutY="54.0" text="password:" />
|
|
<Label layoutX="64.0" layoutY="54.0" text="username:" />
|
|
<Label layoutX="406.0" layoutY="192.0" text="输出目录:" />
|
|
<Label layoutX="55.0" layoutY="346.0" text="设置父包名:" />
|
|
<Label layoutX="38.0" layoutY="293.0" text="设置mapperXml生成路径:" />
|
|
<Label layoutX="37.0" layoutY="236.0" text="设置过滤表前缀:" />
|
|
<TextField fx:id="username" layoutX="139.0" layoutY="50.0" prefHeight="25.0" prefWidth="129.0" />
|
|
<TextField fx:id="password" layoutX="367.0" layoutY="50.0" prefHeight="25.0" prefWidth="129.0" />
|
|
<TextField fx:id="author" layoutX="139.0" layoutY="188.0" prefHeight="25.0" prefWidth="240.0" />
|
|
<TextField fx:id="out_dir" layoutX="470.0" layoutY="188.0" prefHeight="25.0" prefWidth="240.0" />
|
|
<TextField fx:id="prefix" layoutX="139.0" layoutY="232.0" prefHeight="25.0" prefWidth="240.0" />
|
|
<TextField fx:id="mapper_xml_path" layoutX="195.0" layoutY="289.0" prefHeight="25.0" prefWidth="516.0" />
|
|
<TextField fx:id="model_name" layoutX="496.0" layoutY="342.0" prefHeight="25.0" prefWidth="98.0" />
|
|
<TextField fx:id="parent_package" layoutX="139.0" layoutY="342.0" prefHeight="25.0" prefWidth="240.0" />
|
|
<Label layoutX="396.0" layoutY="346.0" text="设置父包模块名:" />
|
|
<Label layoutX="80.0" layoutY="93.0" text="ip:" />
|
|
<TextField fx:id="url" layoutX="139.0" layoutY="89.0" prefHeight="25.0" prefWidth="129.0" />
|
|
<Label layoutX="304.0" layoutY="93.0" text="port:" />
|
|
<TextField fx:id="port" layoutX="367.0" layoutY="89.0" prefHeight="25.0" prefWidth="129.0" />
|
|
<TextField fx:id="data_base" layoutX="862.0" layoutY="50.0" prefHeight="25.0" prefWidth="161.0" />
|
|
<Label layoutX="527.0" layoutY="54.0" text="数据库列表:" />
|
|
<ComboBox fx:id="comboBox_data_base" layoutX="600.0" layoutY="50.0" prefWidth="150.0" />
|
|
<Button layoutX="562.0" layoutY="89.0" mnemonicParsing="false" onAction="#get_all_data_base" prefHeight="25.0" prefWidth="129.0" text="获取数据库列表" />
|
|
<Label layoutX="795.0" layoutY="54.0" text="数据库名:" />
|
|
<Label layoutX="750.0" layoutY="192.0" text="列表:" />
|
|
<Separator layoutX="52.0" layoutY="145.0" prefWidth="200.0" AnchorPane.leftAnchor="124.0" AnchorPane.rightAnchor="0.0" />
|
|
<Separator layoutX="52.0" layoutY="31.0" prefWidth="200.0" AnchorPane.leftAnchor="101.0" AnchorPane.rightAnchor="0.0" />
|
|
<Label layoutX="49.0" layoutY="23.0" text="数据源配置" />
|
|
<Label layoutX="49.0" layoutY="137.0" text="mybatis-plus" />
|
|
<Button layoutX="842.0" layoutY="89.0" mnemonicParsing="false" onAction="#fetch_table" text="获取列表" />
|
|
<ListView fx:id="listView" layoutX="795.0" layoutY="188.0" prefHeight="409.0" prefWidth="347.0" AnchorPane.bottomAnchor="52.0" AnchorPane.leftAnchor="795.0" AnchorPane.rightAnchor="58.0" AnchorPane.topAnchor="188.0" />
|
|
<Button fx:id="generator" layoutX="332.0" layoutY="460.0" mnemonicParsing="false" text="生成" />
|
|
<Text layoutX="406.0" layoutY="249.0" strokeType="OUTSIDE" strokeWidth="0.0" text="(多个字段用,隔开)" />
|
|
</children>
|
|
</AnchorPane>
|