Package no.ugland.utransprod.gui.model

Examples of no.ugland.utransprod.gui.model.DeviationModel


     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    public void actionPerformed(final ActionEvent arg0) {


        DeviationModel deviationModel = new DeviationModel(new Deviation(), false);
        EditDeviationView editDeviationView = new EditDeviationView(false, deviationModel,
                deviationViewHandler, false, true);

        /*WindowInterface window = InternalFrameBuilder.buildInternalFrame("Registrere avvik",
                deviationViewHandler.getRegisterWindowSize(), false);
View Full Code Here


    deviation.setOrderNr(order.getOrderNr());

    DeviationViewHandler deviationViewHandler = deviationViewHandlerFactory
        .create(null, false, false, false, null, true);

    DeviationModel deviationModel = new DeviationModel(deviation, true);

    if (orderLinesWithoutColli != null) {
      deviationModel.setOrderLines(orderLinesWithoutColli);
    }

    EditDeviationView editDeviationView = new EditDeviationView(false,
        deviationModel, deviationViewHandler, true, true);
View Full Code Here

        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);
View Full Code Here

    final DeviationViewHandler deviationViewHandler = new DeviationViewHandler(
        login, managerRepository, preventiveActionViewHandler, null,
        true, false, true, null, true);

    DeviationModel deviationModel = new DeviationModel(new Deviation(),
        false);
    final EditDeviationView editDeviationView = new EditDeviationView(
        false, deviationModel, deviationViewHandler, false, true);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
View Full Code Here

    DeviationViewHandler deviationViewHandler = deviationViewHandlerFactory.create(transportlistable.getOrder(), false,
        false, false, null, true);

    Deviation deviation = new Deviation();

    DeviationModel deviationModel = new DeviationModel(deviation, true);

    deviationModel.setOrderLines(orderLines);
    deviationModel.setPostShipment(postShipment);
    deviationModel.setOrder(transportlistable.getOrder());

    EditDeviationView editDeviationView = new EditDeviationView(false,
        deviationModel, deviationViewHandler, true, true);

    JDialog dialog = new JDialog(ProTransMain.PRO_TRANS_MAIN, "Avvik", true);
View Full Code Here

                LazyLoadDeviationEnum.ORDER_LINE_ORDER_LINES });
      } else {
        addCost = true;
      }

      return new EditDeviationView(searching, new DeviationModel(object,
          false), this, false, addCost);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.model.DeviationModel

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.