Package no.ugland.utransprod.gui

Examples of no.ugland.utransprod.gui.WindowInterface


                }

                AttributeCriteriaViewHandler attributeCriteriaViewHandler = new AttributeCriteriaViewHandler();
                AttributeCriteriaView attributeCriteriaView = new AttributeCriteriaView(
                        orderLineAttribute, attributeCriteriaViewHandler);
                WindowInterface dialogAttributes = new JDialogAdapter(
                        new JDialog(ProTransMain.PRO_TRANS_MAIN, "Attributter",
                                true));
                dialogAttributes.setName("OrderLineAttributeView");
                dialogAttributes.add(attributeCriteriaView
                        .buildPanel(dialogAttributes));
                dialogAttributes.pack();
                Util.locateOnScreenCenter(dialogAttributes);
                dialogAttributes.setVisible(true);
                dialogAttributes.dispose();

                if (object == null
                        || ((OrderLineTreeNode) object).getObject() == null) {
                    Order order = new Order();
                    order.setOrderLines(new HashSet<OrderLine>(orderLines1));
View Full Code Here


    AttributeViewHandler attributeViewHandler = new AttributeViewHandler(
        login, managerRepository);
    AttributeView attributeView = new AttributeView(attributeViewHandler,
        false);
    WindowInterface dialog = new JDialogAdapter(new JDialog(
        ProTransMain.PRO_TRANS_MAIN, "Attributt", true));
    dialog.setName("AttributeView");
    dialog.add(attributeView.buildPanel(dialog));
    dialog.pack();
    Util.locateOnScreenCenter(dialog);
    dialog.setVisible(true);

    if (!attributeView.isCanceled()) {

      List<Attribute> newAttributes = attributeView.getSelectedObjects();
      if (newAttributes != null && newAttributes.size() != 0) {
View Full Code Here

    ArticleTypeViewHandler articleTypeViewHandler = new ArticleTypeViewHandler(
        login, managerRepository, articles);
    ArticleTypeView articleTypeView = new ArticleTypeView(
        articleTypeViewHandler, false, false);
    WindowInterface dialog = new JDialogAdapter(new JDialog(
        ProTransMain.PRO_TRANS_MAIN, "Artikkel", true));
    dialog.setName("ArticleView");
    dialog.add(articleTypeView.buildPanel(dialog));
    dialog.pack();
    Util.locateOnScreenCenter(dialog);
    dialog.setVisible(true);

    List<ArticleType> newArticles = articleTypeView.getSelectedObjects();
    showArticleAttributeView(newArticles, currentArticleType);

  }
View Full Code Here

        gavlProductionWindow.getViewHandler(), false);

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

        packageViewHandler, true);

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

    final MainPackageView view = new MainPackageView(mainPackageViewHandler);

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

        productionViewHandler, true);

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

        frontProductionWindow.getViewHandler(), false);

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

        productionViewHandler, false);

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

          new OrderCommentModel(orderComment),
          orderCommentViewHandler);

      JDialog dialog = Util.getDialog(window, "Legg til kommentar", true);
      dialog.setName("EditDeviationCommentView");
      WindowInterface dialogWindow = new JDialogAdapter(dialog);
      dialogWindow.add(editDeviationCommentView.buildPanel(dialogWindow));
      dialog.pack();
      Util.locateOnScreenCenter(dialog);
      dialogWindow.setVisible(true);

      if (!orderCommentViewHandler.isCanceled()) {
        orderComment
            .setOrder(((OrderModel) presentationModel.getBean())
                .getObject());
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.