Package no.ugland.utransprod.gui.edit

Examples of no.ugland.utransprod.gui.edit.EditAccidentParticipantView


    public void actionPerformed(ActionEvent e) {
      AccidentParticipantModel accidentParticipantModel = new AccidentParticipantModel(
          new AccidentParticipant(null,
              ((AccidentModel) presentationModel.getBean())
                  .getObject(), null, null, null));
      EditAccidentParticipantView editAccidentParticipantView = new EditAccidentParticipantView(
          false, accidentParticipantModel,
          new AccidentParticipantViewHandler(userType));
      Util.showEditViewable(editAccidentParticipantView, window1);

      if (!editAccidentParticipantView.isCanceled()) {
        ArrayListModel listModel = (ArrayListModel) presentationModel
            .getBufferedValue(AccidentModel.PROPERTY_PARTICIPANT_LIST);
        listModel.add(accidentParticipantModel.getObject());
        presentationModel.setBufferedValue(
            AccidentModel.PROPERTY_PARTICIPANT_LIST, listModel);
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.gui.edit.EditAccidentParticipantView

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.