Package no.ugland.utransprod.gui

Examples of no.ugland.utransprod.gui.WindowInterface


    ArticlePacker articlePacker = new ArticlePacker(
        colliViewHandlerProvider, colliSetup, vismaFileCreator);

    UserUtil.setUserTypeManagerForTest(userTypeManager);

    WindowInterface window = null;

    articlePacker.packOrderLine(orderLine, packable, window, true);

    assertNotNull(orderLine.getColli());
    assertEquals("Port", orderLine.getColli().getColliName());
View Full Code Here


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

        false, productionUnitModel, productionUnitViewHandler);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
      protected JDialog executeInEDT() {
        JDialog dialog = new JDialog();
        WindowInterface window = new JDialogAdapter(dialog);
        dialog.add(editProductionUnitView.buildPanel(window));
        dialog.pack();
        return dialog;
      }
    });
View Full Code Here

        excelReportViewHandler, false);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
      protected JDialog executeInEDT() {
        JDialog dialog = new JDialog();
        WindowInterface window = new JDialogAdapter(dialog);
        dialog.add(excelReportView.buildPanel(window));
        dialog.pack();
        return dialog;
      }
    });
View Full Code Here

        productionOverviewViewHandler);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
      protected JDialog executeInEDT() {
        JDialog dialog = new JDialog();
        WindowInterface window = new JDialogAdapter(dialog);
        dialog.add(viewer.buildPanel(window));
        dialog.pack();
        return dialog;
      }
    });
View Full Code Here

    return heading;
  }

  public WindowInterface buildWindow() {

    WindowInterface window = InternalFrameBuilder.buildInternalFrame(
        heading, ((ApplicationParamViewHandler) viewHandler)
            .getDeviationManagerWindowSize(), false);
    window.add(buildPanel(window), BorderLayout.CENTER);

    window.pack();
    return window;
  }
View Full Code Here

   * @see no.ugland.utransprod.gui.model.WindowFactory#getWindow(no.ugland.utransprod.gui.model.WindowEnum,
   *      no.ugland.utransprod.model.UserType,
   *      no.ugland.utransprod.model.ApplicationUser)
   */
  public WindowInterface getWindow(WindowEnum windowEnum, Login login) {
    WindowInterface window = null;
    Viewer viewer = null;
    switch (windowEnum) {
    case CUSTOMER:
      window = windows.get(windowEnum);
      if (window == null) {
View Full Code Here

  public String getHeading() {
    return "Kollier";
  }

  public WindowInterface buildWindow() {
    WindowInterface window = InternalFrameBuilder.buildInternalFrame(
        getTitle(), viewHandler.getWindowSize(), false);
    window.add(buildPanel(window), BorderLayout.CENTER);

    return window;
  }
View Full Code Here

  public final String getHeading() {
    return "Ulykke";
  }

  public WindowInterface buildWindow() {
    WindowInterface windowDialog = InternalFrameBuilder.buildInternalFrame(
        "Registrere ulykke/hendelse",
        ((AccidentViewHandler) viewHandler).getRegisterWindowSize(),
        false);
    windowDialog.add(buildPanel(windowDialog), BorderLayout.CENTER);
    return windowDialog;
  }
View Full Code Here

        new Supplier(), supplierViewHandler);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
      protected JDialog executeInEDT() {
        JDialog dialog = new JDialog();
        WindowInterface window = new JDialogAdapter(dialog);
        dialog.add(editSupplierView.buildPanel(window));
        dialog.pack();
        return dialog;
      }
    });
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.WindowInterface

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.