login, managerRepository, preventiveActionViewHandler,
//deviationOverviewViewFactory,
null, false, false, true, null, true);
deviationViewHandler.addCloseListener(this);
EditDeviationView deviationView = new EditDeviationView(false,
new DeviationModel(new Deviation(), false),
deviationViewHandler, false, true);
JFrame jFrame = new JFrame("Registrere avvik");
jFrame.setIconImage(IconEnum.ICON_UGLAND_BIG.getIcon().getImage());
jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
WindowInterface frame = new JFrameAdapter(jFrame);