@FXML public void fillStaffTable() { // check if (!formatCheckQueue.startCheck()) { return; } fillStaffTable(institution_Field.getText()); }
public void newStaff(ActionEvent actionEvent) { try { Stage dialog = EditStaffDialogController.newDialog(null, EditStaffDialogController.EditType.NEW); dialog.showAndWait(); } catch (IOException e) { e.printStackTrace(); } fillStaffTable(institutionID); }
public void editStaff(ActionEvent actionEvent) { StaffVO staffVO = staff_TableView.getSelectionModel().getSelectedItem(); try { Stage dialog = EditStaffDialogController.newDialog(staffVO, EditStaffDialogController.EditType.EDIT); dialog.showAndWait(); } catch (IOException e) { e.printStackTrace(); } fillStaffTable(institutionID); }