Merge remote-tracking branch 'origin/Max' into Max
# Conflicts: # src/main/java/de/subway_surfers/vpr_app/EssensverwaltungMitarbeiterView.java
This commit is contained in:
@@ -48,7 +48,7 @@ public class AccounterstellungMitarbeiter {
|
||||
}
|
||||
|
||||
public void onAbmelden(ActionEvent actionEvent) {
|
||||
VerwaltungApplication.abmelden();
|
||||
//VerwaltungApplication.abmelden();
|
||||
}
|
||||
|
||||
public void onTypMitarbeiter(ActionEvent actionEvent) {
|
||||
|
@@ -9,8 +9,6 @@ import javafx.scene.layout.ColumnConstraints;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.Priority;
|
||||
import javafx.scene.layout.RowConstraints;
|
||||
import javafx.stage.Modality;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
|
||||
public class EssensverwaltungMitarbeiterView {
|
||||
@@ -41,24 +39,15 @@ public class EssensverwaltungMitarbeiterView {
|
||||
}
|
||||
|
||||
public void onFilter(ActionEvent actionEvent) {
|
||||
Stage stage = new Stage();
|
||||
VerwaltungApplication.sceneWechseln(stage, 450, 400, "inhaltsstoffe_filtern-view.fxml");
|
||||
|
||||
}
|
||||
|
||||
public void onHinzufuegen(ActionEvent actionEvent) {
|
||||
Stage gerichterstellung = new Stage();
|
||||
|
||||
//solange das neu geöffnete Fenster offen ist, wird das Hauptfenster gesperrt
|
||||
gerichterstellung.initModality(Modality.APPLICATION_MODAL);
|
||||
|
||||
VerwaltungApplication.sceneWechseln(gerichterstellung, 400, 530, "gerichterstellung_mitarbeiter-view.fxml");
|
||||
|
||||
gerichterstellung.minWidthProperty().set(400);
|
||||
gerichterstellung.minHeightProperty().set(530);
|
||||
}
|
||||
|
||||
public void onZurueck(ActionEvent actionEvent) {
|
||||
VerwaltungApplication.sceneWechseln("hauptmenue_mitarbeiter-view.fxml");
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -5,7 +5,7 @@ import javafx.event.ActionEvent;
|
||||
public class HauptmenueMitarbeiterView {
|
||||
|
||||
public void onAbmelden(ActionEvent actionEvent) {
|
||||
VerwaltungApplication.abmelden();
|
||||
//VerwaltungApplication.abmelden();
|
||||
}
|
||||
|
||||
public void onAccountAnlegenClick(ActionEvent actionEvent) {
|
||||
|
@@ -110,10 +110,7 @@ public class VerwaltungApplication extends Application {
|
||||
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static void abmelden() {
|
||||
sceneWechseln("login-view.fxml");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user