@FXML public void newProject(){
  if (showConfirmationDialogAndWait()) {
    pipeline.clear();
    project.setFile(Optional.empty());
  }
}

@ FXML public void newProject ( ) { if ( showConfirmationDialogAndWait ( ) ) { pipeline . clear ( ) ; project . setFile ( Optional . empty ( ) ) ; } }
delete everything in the current project . if there are any steps in the pipeline , an " are you sure ? " dialog is shown .
