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

<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<VBox prefHeight="680.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
      fx:controller="com.ecep.contract.controller.permission.EmployeeFunctionsManagerWindowController">
    <children>
        <MenuBar VBox.vgrow="NEVER">
            <menus>
                <Menu text="文件(_F)">
                    <items>
                        <MenuItem onAction="#onCreateNewAction" text="新建…(_N)"/>
                        <MenuItem onAction="#onReBuildFilesAction" text="同步…(_R)"/>
                        <SeparatorMenuItem mnemonicParsing="false"/>
                        <MenuItem mnemonicParsing="false" text="Preferences…"/>
                    </items>
                </Menu>
                <Menu text="帮助(_H)">
                    <items>
                        <MenuItem mnemonicParsing="false" text="关于…"/>
                    </items>
                </Menu>
            </menus>
        </MenuBar>
        <ToolBar prefHeight="40.0" prefWidth="200.0">
            <items>
                <TextField fx:id="searchKeyField" promptText="检索关键字"/>
                <Button fx:id="searchBtn" mnemonicParsing="false" text="检索"/>
            </items>
        </ToolBar>
        <TableView fx:id="table" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS">
            <columns>
                <TableColumn fx:id="idColumn" prefWidth="50.0" sortType="DESCENDING" text="ID"/>
                <TableColumn fx:id="nameColumn" prefWidth="150.0" text="名称"/>
                <TableColumn fx:id="keyColumn" prefWidth="150" text="KEY"/>
                <TableColumn fx:id="controllerColumn" prefWidth="150" text="控制器"/>
                <TableColumn fx:id="iconColumn" prefWidth="150" text="图标"/>
                <TableColumn fx:id="descriptionColumn" prefWidth="200" text="备注"/>
                <TableColumn fx:id="activeColumn" prefWidth="80" text="是否启用"/>
            </columns>
        </TableView>
        <fx:include source="../part-footer.fxml" fx:id="footer"/>
    </children>
</VBox>
