From 3d3f4440238ededefa6bb142106295d6eab4678c Mon Sep 17 00:00:00 2001
From: Dominic Rogetzer <e1627756@student.tuwien.ac.at>
Date: Mon, 7 May 2018 12:33:11 +0200
Subject: Change CreateOperationController.fxml labels to hyperlinks with
 onAction

---
 src/main/resources/fxml/CreateOperationController.fxml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/fxml/CreateOperationController.fxml b/src/main/resources/fxml/CreateOperationController.fxml
index 949d4ec..1ba6498 100644
--- a/src/main/resources/fxml/CreateOperationController.fxml
+++ b/src/main/resources/fxml/CreateOperationController.fxml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <?import javafx.scene.control.Button?>
+<?import javafx.scene.control.Hyperlink?>
 <?import javafx.scene.control.Label?>
 <?import javafx.scene.control.ListView?>
 <?import javafx.scene.control.TextField?>
@@ -59,21 +60,21 @@
             </Button>
          </children>
       </AnchorPane>
-      <Label layoutX="55.0" layoutY="38.0" text="Anmeldungen" textFill="WHITE">
+      <Hyperlink layoutX="55.0" layoutY="38.0" onAction="#onRegistrationLinkClicked" text="Anmeldungen" textFill="WHITE">
          <font>
             <Font size="15.0" />
          </font>
-      </Label>
-      <Label layoutX="802.0" layoutY="38.0" text="Personen" textFill="WHITE">
+      </Hyperlink>
+      <Hyperlink layoutX="802.0" layoutY="38.0" onAction="#onEmployeeLinkClicked" text="Personen" textFill="WHITE">
          <font>
             <Font size="15.0" />
          </font>
-      </Label>
-      <Label layoutX="877.0" layoutY="38.0" text="Fahrzeuge" textFill="WHITE">
+      </Hyperlink>
+      <Hyperlink layoutX="877.0" layoutY="38.0" onAction="#onVehicleLinkClicked" text="Fahrzeuge" textFill="WHITE">
          <font>
             <Font size="15.0" />
          </font>
-      </Label>
+      </Hyperlink>
       <AnchorPane fx:id="apActiveOperations" layoutX="973.0" layoutY="69.0" prefHeight="243.0" prefWidth="207.0" style="-fx-background-color: white;">
          <children>
             <ListView fx:id="lvActiveOperations" layoutX="4.0" layoutY="74.0" prefHeight="242.0" prefWidth="200.0" style="-fx-background-color: white;" />
-- 
cgit v1.2.3-70-g09d2