takstolProductionViewHandler = new TakstolProductionViewHandler(
takstolProductionApplyList, login, managerRepository,
deviationViewHandlerFactory, showTakstolInfoActionFactory,
setProductionUnitActionFactory);
final TakstolApplyListView productionView = new TakstolApplyListView(
takstolProductionViewHandler);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);
dialog.add(productionView.buildPanel(window));
dialog.pack();
return dialog;
}
});
dialogFixture = new DialogFixture(dialog);