diff --git a/CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml b/CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml index 325a86032b176852e7476d970dd743237cd6fd27..ef006c1e0ebeb0dee1ea682a1cc84c15a152e7b6 100644 --- a/CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml +++ b/CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.fxml @@ -3,76 +3,98 @@ <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.Label?> +<?import javafx.scene.control.ListView?> <?import javafx.scene.control.ProgressBar?> -<?import javafx.scene.control.ScrollPane?> -<?import javafx.scene.control.TextArea?> <?import javafx.scene.control.TextField?> <?import javafx.scene.control.TitledPane?> -<?import javafx.scene.control.TreeView?> <?import javafx.scene.layout.HBox?> <?import javafx.scene.layout.VBox?> <?import javafx.scene.text.Font?> - <VBox xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"> <children> - <Label fx:id="fileLabel" text="Zip-file path: "> - <padding> - <Insets left="5.0" right="5.0" top="5.0"/> - </padding> - <font> - <Font size="16.0"/> - </font> - </Label> - <HBox> - <children> - <TextField fx:id="pathField" prefColumnCount="25" HBox.hgrow="ALWAYS"> - <HBox.margin> - <Insets right="5.0"/> - </HBox.margin> - <font> - <Font size="14.0"/> - </font> - </TextField> - <Button fx:id="selectBtn" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Select" - HBox.hgrow="SOMETIMES"> - <font> - <Font size="14.0"/> - </font> - </Button> - </children> - <padding> - <Insets bottom="5.0" left="5.0" right="5.0"/> - </padding> - <VBox.margin> - <Insets/> - </VBox.margin> - </HBox> - <HBox prefHeight="200.0" prefWidth="600.0"> + <HBox fillHeight="false" prefHeight="200.0" prefWidth="600.0" VBox.vgrow="ALWAYS"> <children> - <TitledPane collapsible="false" text="Zip-entries"> + <TitledPane fx:id="entriesPane" collapsible="false" text="Zip-entries" HBox.hgrow="ALWAYS"> <font> <Font size="14.0"/> </font> <content> - <ScrollPane prefHeight="200.0" prefWidth="300.0"> - <content> - <TreeView fx:id="entriesTree" prefHeight="200.0" prefWidth="280.0"/> - </content> - </ScrollPane> + <ListView fx:id="entryList" prefWidth="300.0"/> </content> </TitledPane> - <TitledPane fx:id="settingsPane1" collapsible="false" layoutX="10.0" layoutY="10.0" prefWidth="300.0" - text="Metadata"> + <TitledPane fx:id="metadataPane" collapsible="false" layoutX="10.0" layoutY="10.0" prefWidth="300.0" + text="Metadata" HBox.hgrow="ALWAYS"> <font> <Font size="14.0"/> </font> <content> - <ScrollPane prefHeight="200.0" prefWidth="200.0"> - <content> - <TextArea fx:id="metaArea" editable="false" prefHeight="200.0" prefWidth="280.0"/> - </content> - </ScrollPane> + <HBox> + <children> + <VBox spacing="5.0"> + <children> + <Label fx:id="subpathLbl" alignment="CENTER" text="Subpath:"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="erroneousLbl" text="Erroneous:"> + <font> + <Font size="14.0"/> + </font> + <padding> + <Insets top="7.0"/> + </padding> + </Label> + <Label fx:id="filesizeLbl" text="Filesize:"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="validatedLbl" layoutX="10.0" layoutY="67.0" text="Validated:"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="objectCountLbl" layoutX="10.0" layoutY="67.0" + text="Object count:"> + <font> + <Font size="14.0"/> + </font> + </Label> + </children> + </VBox> + <VBox prefHeight="147.0" prefWidth="189.0" spacing="5.0"> + <children> + <TextField fx:id="subpathValueTxt" editable="false" prefHeight="27.0" + prefWidth="184.0" text="N/A"/> + <Label fx:id="erroneousValue" text="N/A"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="filesizeValue" text="N/A"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="validatedValue" layoutX="15.0" layoutY="67.0" text="N/A"> + <font> + <Font size="14.0"/> + </font> + </Label> + <Label fx:id="objectCountValue" layoutX="15.0" layoutY="92.0" text="N/A"> + <font> + <Font size="14.0"/> + </font> + </Label> + </children> + <padding> + <Insets left="5.0"/> + </padding> + </VBox> + </children> + </HBox> </content> </TitledPane> </children>