Package no.ugland.utransprod.gui

Examples of no.ugland.utransprod.gui.AttachmentView


  public AttachmentView getAttachmentView(PresentationModel presentationModel)
      throws ProTransException {
    String orderNr = (String) presentationModel
        .getBufferedValue(OrderModel.PROPERTY_ORDER_NR);
    attachmentViewHandler = new AttachmentViewHandler(orderNr);
    return new AttachmentView(attachmentViewHandler);

  }
View Full Code Here


        .getBean(ApplicationParamManager.MANAGER_NAME);
    ApplicationParamUtil.setApplicationParamManger(applicationParamManager);

    AttachmentViewHandler attachmentViewHandler = new AttachmentViewHandler(
        "testdir");
    final AttachmentView viewer = new AttachmentView(attachmentViewHandler);

    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;
      }
    });
    dialogFixture = new DialogFixture(dialog);
View Full Code Here

TOP

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

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.