summaryrefslogtreecommitdiffstats
path: root/src/de/fhswf/in/inf/se/projektthemenvergabe/view/Projektthemenverwaltung.fxml
blob: 33bf5de95bde4f5125216d6a70a5d3d1f634f983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.input.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.control.Label?>

<BorderPane prefHeight="543.0" prefWidth="1089.0" xmlns="http://javafx.com/javafx/8.0.65" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.fhswf.in.inf.se.projektthemenvergabe.view.ProjektthemenverwaltungsController">
   <top>
      <MenuBar prefHeight="35.0" prefWidth="1089.0" BorderPane.alignment="CENTER">
        <menus>
          <Menu mnemonicParsing="false" text="Datei">
            <items>
              <MenuItem mnemonicParsing="false" onAction="#handleClose" text="Schließen">
                     <accelerator>
                        <KeyCodeCombination alt="UP" code="Q" control="UP" meta="UP" shift="UP" shortcut="DOWN" />
                     </accelerator></MenuItem>
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Bearbeiten">
            <items>
                  <MenuItem mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen" />
                  <MenuItem fx:id="editProjektMenuItem" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten" />
                  <MenuItem fx:id="deleteProjektMenuItem" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" />
              <MenuItem mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung" />
                  <MenuItem mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" text="Ansprechpartnerverwaltung" />
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Ansicht ändern">
            <items>
                  <MenuItem mnemonicParsing="false" onAction="#handleShowAll" text="Alle Anzeigen" />
                  <MenuItem mnemonicParsing="false" onAction="#handleShowInBearbeitung" text="In Bearbeitung" />
              <MenuItem mnemonicParsing="false" onAction="#handleShowEingereicht" text="Eingereicht" />
                  <MenuItem mnemonicParsing="false" onAction="#handleShowInUeberabeitung" text="In Überarbeitung" />
                  <MenuItem mnemonicParsing="false" onAction="#handleShowAngenommen" text="Angenommen" />
                  <MenuItem mnemonicParsing="false" onAction="#handleShowAbgelehnt" text="Abgelehnt" />
            </items>
          </Menu>
        </menus>
      </MenuBar>
   </top>
   <bottom>
      <HBox BorderPane.alignment="CENTER">
         <children>
            <Button maxWidth="100.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleAddProjekt" text="Anlegen">
               <HBox.margin>
                  <Insets right="5.0" />
               </HBox.margin>
            </Button>
            <Button fx:id="editProjektButton" disable="true" maxWidth="200.0" minWidth="100.0" mnemonicParsing="false" onAction="#handleEditProjekt" text="Bearbeiten">
               <HBox.margin>
                  <Insets right="5.0" />
               </HBox.margin>
            </Button>
            <Button fx:id="deleteProjektButton" disable="true" minWidth="100.0" mnemonicParsing="false" onAction="#handleDeleteProjekt" text="Löschen" />
            <Separator prefHeight="0.0" prefWidth="373.0" visible="false" HBox.hgrow="ALWAYS" />
            <Button maxWidth="225.0" minWidth="200.0" mnemonicParsing="false" onAction="#handleStudentenverwaltung" text="Studentenverwaltung">
               <HBox.margin>
                  <Insets right="5.0" />
               </HBox.margin>
            </Button>
            <Button minWidth="200.0" mnemonicParsing="false" onAction="#handleAnsprechpartnerverwaltungs" prefHeight="26.0" prefWidth="225.0" text="Ansprechpartnerverwaltung" />
         </children>
         <BorderPane.margin>
            <Insets top="5.0" />
         </BorderPane.margin>
      </HBox>
   </bottom>
   <center>
      <TableView fx:id="projektTableView" editable="true" prefHeight="506.0" prefWidth="1089.0" BorderPane.alignment="CENTER">
        <columns>
          <TableColumn fx:id="projektThemaTableColumn" prefWidth="244.0" text="Projektthema" />
          <TableColumn fx:id="ansprechpatnerTableColumn" prefWidth="118.0" text="Ansprechpartner" />
            <TableColumn prefWidth="570.0" text="Student">
               <columns>
                  <TableColumn fx:id="student1TableColumn" prefWidth="75.0" text="1" />
                  <TableColumn fx:id="student2TableColumn" prefWidth="75.0" text="2" />
                  <TableColumn fx:id="student3TableColumn" prefWidth="75.0" text="3" />
               </columns>
            </TableColumn>
            <TableColumn fx:id="statusTableColumn" prefWidth="237.0" text="Status" />
        </columns>
         <columnResizePolicy>
            <TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
         </columnResizePolicy>
         <placeholder>
            <Label text="Keine Projekte angelegt." />
         </placeholder>
      </TableView>
   </center>
</BorderPane>