TransportViewHandler transportViewHandler = new TransportViewHandler(
orderViewHandlerFactory, login, managerRepository,
deviationViewHandlerFactory, showTakstolInfoActionFactory,
new VismaFileCreatorImpl(null, true));
final EditTransportView editTransportView = new EditTransportView(
transportViewHandler, transport, false);
JDialog dialog = new JDialog();
WindowInterface window = new JDialogAdapter(dialog);
dialog.add(editTransportView.buildPanel(window));
dialog.pack();
return dialog;
}
});
dialogFixture = new DialogFixture(dialog);