Package no.ugland.utransprod.gui.handlers

Examples of no.ugland.utransprod.gui.handlers.MainPackageViewHandler$ShowPackagedAction


    applicationUser.setProductArea(productArea);
    applicationUser.setUserName("username");
    applicationUser.setGroupUser("Nei");
    when(login.getApplicationUser()).thenReturn(applicationUser);

    MainPackageViewHandler mainPackageViewHandler = new MainPackageViewHandler(
        vismaFileCreator, orderViewHandlerFactory, login,
        managerRepository, deviationViewHandlerFactory, colliSetup,
        statusChekers);
    final MainPackageView view = new MainPackageView(mainPackageViewHandler);
View Full Code Here


        VismaFileCreator vismaFileCreator=new VismaFileCreatorImpl(ordchgrHeadVManager, true);*/

        //OrderViewHandler orderViewHandler = new OrderViewHandler(true,login,orderManager);
                //applicationUserType, applicationUser,orderManager);

        MainPackageViewHandler mainPackageViewHandler = mainPackageViewHandlerFactory.create(colliSetup, statusChekers);
        mainPackageViewHandler.addCloseListener(this);
        MainPackageView mainPackageView = new MainPackageView(
                mainPackageViewHandler);
        jFrame = new JFrame("Pakking garasjepakke");
        jFrame.setIconImage(IconEnum.ICON_UGLAND_BIG.getIcon().getImage());
        jFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        WindowInterface frame = new JFrameAdapter(jFrame);
        jFrame.setJMenuBar(mainPackageViewHandler.getMenuBar(login.getApplicationUser(),
                gulvsponPackageVManager, frame));

        frame.add(mainPackageView.buildPanel(frame));
        jFrame.setSize(mainPackageViewHandler.getWindowSize());
        Util.locateOnScreenCenter(frame);
        frame.setVisible(true);
        listener.systemReady();
        return jFrame;
    }
View Full Code Here

    statusChekers.put(frontArticleName, new LagerProductionStatusChecker(
        frontArticleName, attributeName, attributeValue));

    Map<String, String> colliSetup = ApplicationParamUtil.getColliSetup();

    MainPackageViewHandler mainPackageViewHandler = mainPackageViewHandlerFactory
        .create(colliSetup, statusChekers);

    menuBarBuilder.openFrame(new MainPackageView(mainPackageViewHandler));

  }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.handlers.MainPackageViewHandler$ShowPackagedAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.