JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {
ColliViewHandler colliViewHandler = new ColliViewHandler("Kolli",
colli, packable, login, managerRepository, null);
final EditColliView editColliView = new EditColliView(false,
colliModel, colliViewHandler);
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);
dialog.add(editColliView.buildPanel(window));
dialog.pack();
return dialog;
}
});
dialogFixture = new DialogFixture(dialog);