<?xml version="1.0" encoding="UTF-8"?>

<?import com.megatimfx.common.customcontrols.AbstractNestedEntityTable?>
<?import com.megatimfx.common.customcontrols.AbstractSelectionItem?>
<?import com.megatimfx.common.customcontrols.CustomDirectoryChooser?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>

<AnchorPane prefHeight="551.0" prefWidth="737.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.megatim.fdxconvert.forms.TacheEditFormController">
   <children>
      <VBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
         <children>
            <TabPane fx:id="tabPane" stylesheets="@../../../../styles/CustomFormComponents.css">
               <tabs>
                  <Tab style="-fx-font-size: 14;" text="Informations sur la tâche">
                     <content>
                        <VBox prefHeight="604.0" prefWidth="748.0" spacing="15.0" stylesheets="@../../../../styles/CustomFormComponents.css">
                        
                                  <VBox fx:id="paneContainer" spacing="10.0" style="-fx-background-color: white;">
                                <children>
                                    <TitledPane animated="false" collapsible="false" prefHeight="82.0" prefWidth="370.0" text="Informations générales">
                                        <content>
                                            <VBox spacing="10.0">
                                                <padding>
                                                    <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
                                                </padding>
                                                <children>
                                                    <HBox alignment="CENTER" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" contentDisplay="CENTER" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Libellé ">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </Label>
                                                            <TextField fx:id="libelleTextField" minHeight="25.0" minWidth="390.0" prefHeight="25.0" prefWidth="390.0" HBox.hgrow="ALWAYS" />
                                                        </children>
                                                    </HBox>
                                             <HBox prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                                <children>
                                                   <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Utiliser un modèle de conversion existant" />
                                                   <CheckBox fx:id="useExistingConversionModelCheckBox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Oui" textFill="#5a5a5a" />
                                                </children>
                                             </HBox>
                                             <HBox alignment="CENTER_LEFT" spacing="10.0">
                                                <children>
                                                   <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Modèle de conversion" />
                                                   <AbstractSelectionItem fx:id="conversionModelAbstractSelectItem" maxWidth="474.0" minHeight="25.0" minWidth="468.0" prefHeight="25.0" prefWidth="468.0" />
                                                </children>
                                             </HBox>
                                                    <HBox alignment="CENTER" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" contentDisplay="CENTER" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Type de fichier">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </Label>
                                                            <AbstractSelectionItem fx:id="typeFichierAbstractSelectItem" minHeight="25.0" minWidth="468.0" prefHeight="25.0" prefWidth="468.0" HBox.hgrow="ALWAYS" />
                                                        </children>
                                                    </HBox>
                                                    <HBox fx:id="sourceHBox" alignment="CENTER_LEFT" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Répertoire source">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </Label>
                                                            <CustomDirectoryChooser fx:id="repertoireSource" minHeight="25.0" minWidth="468.0" prefHeight="25.0" prefWidth="468.0" HBox.hgrow="ALWAYS" />
                                                        </children>
                                                    </HBox>
                                                    <HBox fx:id="sourceHBox1" alignment="CENTER_LEFT" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Répertoire destination">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </Label>
                                                            <CustomDirectoryChooser fx:id="repertoireDestination" minHeight="25.0" minWidth="468.0" prefHeight="25.0" prefWidth="468.0" HBox.hgrow="ALWAYS" />
                                                        </children>
                                                    </HBox>
                                                    <HBox fx:id="sourceHBox11" alignment="CENTER_LEFT" layoutX="20.0" layoutY="122.0" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Répertoire d'erreur">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </Label>
                                                            <CustomDirectoryChooser fx:id="repertoireErreur" minHeight="25.0" minWidth="468.0" prefHeight="25.0" prefWidth="390.0" HBox.hgrow="ALWAYS" />
                                                        </children>
                                                    </HBox>
                                                    <HBox alignment="CENTER_LEFT" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Format du fichier de données" />
                                                            <ComboBox fx:id="dataTypeComboBox" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                                        </children>
                                                    </HBox>
                                                    <HBox fx:id="delimiteurLigneHBox" alignment="CENTER_LEFT" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Délimiteur de ligne" />
                                                            <ComboBox fx:id="delimiteurLigne" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                                        </children>
                                                    </HBox>
                                                    <HBox fx:id="delimiteurColonneHBox" alignment="CENTER_LEFT" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Délimiteur colonne" />
                                                            <ComboBox fx:id="delimiteurColonne" minHeight="25.0" minWidth="300.0" prefHeight="25.0" prefWidth="300.0" style="-fx-background-radius: 0%;" />
                                                        </children>
                                                    </HBox>
                                                    <HBox prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Fichier contient ligne d'entête ?" />
                                                            <CheckBox fx:id="withHeader" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" text="Oui" />
                                                        </children>
                                                    </HBox>
                                                    <HBox prefHeight="43.0" prefWidth="637.0" spacing="10.0">
                                                        <children>
                                                            <Label alignment="CENTER_RIGHT" minHeight="25.0" minWidth="225.0" prefHeight="25.0" prefWidth="225.0" style="-fx-text-fill: black;" text="Validation stricte des données ?" />
                                                            <CheckBox fx:id="strictValidationCheckbox" disable="true" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" text="Oui" />
                                                        </children>
                                                    </HBox>
                                                    <HBox alignment="CENTER_RIGHT" spacing="10.0">
                                                        <children>
                                                            <CheckBox fx:id="active" minHeight="25.0" mnemonicParsing="false" nodeOrientation="RIGHT_TO_LEFT" prefHeight="25.0" style="-fx-font-size: 12; -fx-text-fill: black;" text="Activer" textFill="#5a5a5a">
                                                                <font>
                                                                    <Font size="14.0" />
                                                                </font>
                                                            </CheckBox>
                                                        </children>
                                                    </HBox>
                                                </children>
                                            </VBox>
                                        </content>
                                    </TitledPane>
                                </children>
                            </VBox>
                            <padding>
                                <Insets bottom="5.0" left="5.0" right="5.0" top="20.0" />
                            </padding>
                        </VBox>
                     </content>
                  </Tab>
                  <Tab style="-fx-font-size: 14;" text="Plannification">
                     <content>
                        <VBox spacing="5.0" style="-fx-background-color: white;">
                           <children>
                              <TitledPane animated="false" collapsible="false" prefHeight="146.0" prefWidth="943.0" text="Configuration de la plannification">
                                 <content>
                                    <VBox spacing="5.0">
                                       <padding>
                                          <Insets bottom="5.0" left="10.0" right="10.0" top="5.0" />
                                       </padding>
                                       <children>
                                          <VBox spacing="10.0">
                                             <children>
                                                <HBox prefHeight="25.0" prefWidth="901.0" spacing="10.0" VBox.vgrow="ALWAYS">
                                                   <children>
                                                      <HBox prefHeight="31.0" prefWidth="260.0" spacing="10.0">
                                                         <children>
                                                            <HBox alignment="CENTER_LEFT" spacing="5.0">
                                                               <children>
                                                                  <Label contentDisplay="CENTER" style="-fx-text-fill: black;" text="Heure" />
                                                                  <TextField fx:id="heureTextField" minWidth="70.0" prefWidth="70.0" />
                                                               </children>
                                                            </HBox>
                                                            <HBox alignment="CENTER_LEFT" spacing="5.0">
                                                               <children>
                                                                  <Label style="-fx-text-fill: black;" text="Minute" />
                                                                  <TextField fx:id="minuteTextField" minWidth="70.0" prefWidth="70.0" />
                                                               </children>
                                                            </HBox>
                                                         </children>
                                                      </HBox>
                                                      <HBox alignment="CENTER_RIGHT" prefHeight="25.0" prefWidth="456.0" spacing="15.0" HBox.hgrow="ALWAYS">
                                                         <children>
                                                            <HBox alignment="CENTER_LEFT" spacing="5.0">
                                                               <children>
                                                                  <CheckBox fx:id="withoutInterval" mnemonicParsing="false" nodeOrientation="RIGHT_TO_LEFT" prefHeight="16.0" prefWidth="185.0" style="-fx-text-fill: black;" text="Exécuter une seule fois" textFill="#5a5a5a" />
                                                               </children>
                                                            </HBox>
                                                            <HBox alignment="CENTER_LEFT" spacing="5.0">
                                                               <children>
                                                                  <Label prefHeight="15.0" prefWidth="228.0" style="-fx-text-fill: black;" text="Intervalle de répétition (en minutes)" />
                                                                  <TextField fx:id="intervalleTache" minWidth="70.0" prefWidth="70.0" />
                                                               </children>
                                                            </HBox>
                                                         </children>
                                                      </HBox>
                                                   </children>
                                                </HBox>
                                                <HBox VBox.vgrow="ALWAYS">
                                                   <children>
                                                      <GridPane hgap="15.0" vgap="5.0" HBox.hgrow="ALWAYS">
                                                         <columnConstraints>
                                                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                                                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                                                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                                                            <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
                                                         </columnConstraints>
                                                         <rowConstraints>
                                                            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                                            <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
                                                         </rowConstraints>
                                                         <children>
                                                            <CheckBox fx:id="lundiCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Lundi" textFill="#5a5a5a" />
                                                            <CheckBox fx:id="mardiCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Mardi" textFill="#5a5a5a" GridPane.columnIndex="1" />
                                                            <CheckBox fx:id="mercrediCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Mercredi" textFill="#5a5a5a" GridPane.columnIndex="2" />
                                                            <CheckBox fx:id="jeudiCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Jeudi" textFill="#5a5a5a" GridPane.columnIndex="3" />
                                                            <CheckBox fx:id="vendrediCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Vendredi" textFill="#5a5a5a" GridPane.rowIndex="1" />
                                                            <CheckBox fx:id="samediCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Samedi" textFill="#5a5a5a" GridPane.columnIndex="1" GridPane.rowIndex="1" />
                                                            <CheckBox fx:id="dimancheCheckbox" minHeight="25.0" mnemonicParsing="false" prefHeight="25.0" style="-fx-text-fill: black;" text="Dimanche" textFill="#5a5a5a" GridPane.columnIndex="2" GridPane.rowIndex="1" />
                                                         </children>
                                                      </GridPane>
                                                   </children>
                                                </HBox>
                                             </children>
                                          </VBox>
                                       </children>
                                    </VBox>
                                 </content>
                              </TitledPane>
                           </children>
                           <padding>
                              <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
                           </padding>
                        </VBox>
                     </content>
                  </Tab>
                  <Tab style="-fx-font-size: 14;" text="Champs à tronquer">
                     <content>
                        <VBox spacing="15.0">
                           <children>
                              <TitledPane animated="false" collapsible="false" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" text="Informations sur les champs">
                                 <content>
                                    <VBox prefHeight="200.0" prefWidth="100.0" spacing="5.0">
                                       <children>
                                          <HBox alignment="CENTER_RIGHT">
                                             <children>
                                                <CheckBox fx:id="saisieAlphaNumeriqueFieldChecBox" mnemonicParsing="false" styleClass="square-border" stylesheets="@../../../../styles/style.css" text="Sélectionner les champs à tronquer" textFill="#5a5a5a" />
                                             </children>
                                          </HBox>
                                          <AbstractNestedEntityTable fx:id="metaAlphaNumeriqueFieldAbstractTable" prefHeight="252.0" prefWidth="526.0" VBox.vgrow="ALWAYS" />
                                       </children>
                                       <padding>
                                          <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
                                       </padding>
                                    </VBox>
                                 </content>
                              </TitledPane>
                           </children>
                           <padding>
                              <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
                           </padding>
                        </VBox>
                     </content>
                  </Tab>
               </tabs>
            </TabPane>
         </children>
      </VBox>
   </children>
</AnchorPane>
