From d1be1e7dc30f11084f4d7054612d02a230271514 Mon Sep 17 00:00:00 2001
From: Andreas Weninger <e01526989@student.tuwien.ac.at>
Date: Thu, 3 May 2018 20:25:01 +0200
Subject: Empty skeleton for VehiclePane.

---
 .../ui/vehiclePane/VehiclePaneController.java      | 33 ++++++++++++++++++++++
 src/main/resources/fxml/vehiclePane.fxml           | 14 +++++++++
 2 files changed, 47 insertions(+)
 create mode 100644 src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/ui/vehiclePane/VehiclePaneController.java
 create mode 100644 src/main/resources/fxml/vehiclePane.fxml

diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/ui/vehiclePane/VehiclePaneController.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/ui/vehiclePane/VehiclePaneController.java
new file mode 100644
index 0000000..ee9e29f
--- /dev/null
+++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/ui/vehiclePane/VehiclePaneController.java
@@ -0,0 +1,33 @@
+package at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.ui.vehiclePane;
+
+import at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.dto.Vehicle;
+import java.io.IOException;
+import javafx.fxml.FXMLLoader;
+import javafx.scene.Node;
+
+public class VehiclePaneController {
+    public static VehiclePaneController createVehiclePane() throws IOException {
+        FXMLLoader fxmlLoader = new FXMLLoader(VehiclePaneController.class.getResource("/fxml/vehiclePane.fxml"));
+        Node root = fxmlLoader.load();
+        VehiclePaneController result = fxmlLoader.getController();
+        result.rootElement = root;
+
+        return result;
+    }
+
+    private Node rootElement;
+
+    public Node getRootElement() {
+        return rootElement;
+    }
+
+    /***
+     * Set the displayed data of this VehiclePane.
+     * @param vehicle The data to display.
+     * @param showQualification If true, the most recent registration of vehicle will be searched for the highest qualification.
+     */
+    public void setData(Vehicle vehicle, boolean showQualification)
+    {
+
+    }
+}
diff --git a/src/main/resources/fxml/vehiclePane.fxml b/src/main/resources/fxml/vehiclePane.fxml
new file mode 100644
index 0000000..f6824dc
--- /dev/null
+++ b/src/main/resources/fxml/vehiclePane.fxml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<?import java.lang.*?>
+<?import java.util.*?>
+<?import javafx.scene.*?>
+<?import javafx.scene.control.*?>
+<?import javafx.scene.layout.*?>
+
+<AnchorPane xmlns="http://javafx.com/javafx"
+  xmlns:fx="http://javafx.com/fxml"
+  fx:controller="at.ac.tuwien.sepm.assignment.groupphase.einsatzverwaltung.ui.vehiclePane.VehiclePaneController"
+  prefHeight="400.0" prefWidth="600.0">
+
+</AnchorPane>
-- 
cgit v1.2.3-70-g09d2