LazyLoadEnum.NONE } });
ExternalOrderLineViewHandler externalOrderLineViewHandler = new ExternalOrderLineViewHandler(login,managerRepository);
EditExternalOrderLineView externalOrderLineView = new EditExternalOrderLineView(
externalOrderLine, externalOrderLineViewHandler);
JDialog dialog = Util.getDialog(window, "Artikkel", true);
WindowInterface dialogWindow = new JDialogAdapter(dialog);
dialogWindow.add(externalOrderLineView.buildPanel(dialogWindow));
dialogWindow.pack();
Util.locateOnScreenCenter(dialogWindow);
dialogWindow.setVisible(true);
return externalOrderLineView.isCanceled();
}