login, managerRepository, preventiveActionViewHandler);
OrderViewHandler orderViewHandler = new OrderViewHandler(login,
managerRepository, deviationOverviewViewFactory,
deviationViewHandlerFactory, false);
final OrderOverviewView view = new OrderOverviewView(orderViewHandler);
JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
protected JDialog executeInEDT() {
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);
dialog.add(view.buildPanel(window));
dialog.pack();
return dialog;
}
});
dialogFixture = new DialogFixture(dialog);