Skip to content
Snippets Groups Projects
Commit 937dad25 authored by Dennis Toth's avatar Dennis Toth
Browse files

clean up

parent 44928fee
No related branches found
No related tags found
1 merge request!3jpa+gui+logic
...@@ -13,8 +13,6 @@ import javafx.scene.control.*; ...@@ -13,8 +13,6 @@ import javafx.scene.control.*;
import java.io.IOException; import java.io.IOException;
import java.util.Optional; import java.util.Optional;
import static de.thdeg.grademanager.gui.CoursesOfStudyDetailsController.courseList;
public class CourseModificationController { public class CourseModificationController {
@FXML @FXML
protected ComboBox<BachelorSemester> bachelorSemesterComboBox; protected ComboBox<BachelorSemester> bachelorSemesterComboBox;
......
package de.thdeg.grademanager.gui; package de.thdeg.grademanager.gui;
import de.thdeg.grademanager.model.Course; import de.thdeg.grademanager.model.Course;
import de.thdeg.grademanager.model.CoursesOfStudy;
import javafx.collections.FXCollections; import javafx.collections.FXCollections;
import javafx.collections.ObservableList; import javafx.collections.ObservableList;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.scene.control.ListView; import javafx.scene.control.ListView;
import javafx.scene.control.TextField;
import java.io.IOException; import java.io.IOException;
public class CoursesOfStudyDetailsController { public class CoursesOfStudyDetailsController {
@FXML
protected TextField courses;
@FXML @FXML
protected ListView<Course> courseListView; protected ListView<Course> courseListView;
......
...@@ -6,13 +6,8 @@ import javafx.collections.FXCollections; ...@@ -6,13 +6,8 @@ import javafx.collections.FXCollections;
import javafx.collections.ObservableList; import javafx.collections.ObservableList;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.control.ComboBox; import javafx.scene.control.ComboBox;
import javafx.scene.*;
import javafx.scene.Node;
import javafx.stage.*;
import java.io.IOException; import java.io.IOException;
public class MainController { public class MainController {
...@@ -33,11 +28,6 @@ public class MainController { ...@@ -33,11 +28,6 @@ public class MainController {
} }
} }
@FXML
protected void switchToMain(ActionEvent event) throws IOException {
SwitchWindowHelper.switchTo("Main", event);
}
@FXML @FXML
protected void switchToStudentDetails(ActionEvent event) throws IOException { protected void switchToStudentDetails(ActionEvent event) throws IOException {
SwitchWindowHelper.switchTo("Student Details", event); SwitchWindowHelper.switchTo("Student Details", event);
......
package de.thdeg.grademanager.gui; package de.thdeg.grademanager.gui;
import de.thdeg.grademanager.model.CoursesOfStudy; import de.thdeg.grademanager.model.CoursesOfStudy;
import de.thdeg.grademanager.model.Student;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.fxml.FXML; import javafx.fxml.FXML;
import javafx.scene.control.ComboBox; import javafx.scene.control.ComboBox;
...@@ -9,7 +8,6 @@ import javafx.scene.control.ComboBox; ...@@ -9,7 +8,6 @@ import javafx.scene.control.ComboBox;
import java.io.IOException; import java.io.IOException;
import static de.thdeg.grademanager.gui.MainController.coursesOfStudyList; import static de.thdeg.grademanager.gui.MainController.coursesOfStudyList;
import static de.thdeg.grademanager.gui.MainController.studentList;
public class StudentDetailsController { public class StudentDetailsController {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment