Search in sources :

Example 1 with NewModelPM

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();
}
Also used : NewModelPM(net.parostroj.timetable.gui.pm.NewModelPM)

Aggregations

NewModelPM (net.parostroj.timetable.gui.pm.NewModelPM)1