ConstructionTypeViewHandler constructionTypeViewHandler = new ConstructionTypeViewHandler(
login, managerRepository, false, false);
final EditConstructionTypeView view = new EditConstructionTypeView(
constructionTypeViewHandler, new ConstructionType(), false);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);