use of net.parostroj.timetable.gui.pm.NewModelPM in project grafikon by jub77.
the class NewModelDialog method showDialog.
public Callable<TrainDiagram> showDialog(TemplateLoader<TrainDiagram> templateLoader) throws LSException {
NewModelPM newModel = new NewModelPM(templateLoader);
newModel.init();
provider.setPresentationModel(newModel);
this.setVisible(true);
return newModel.getResult();
}
Aggregations