Package br.com.visualmidia.persistence

Examples of br.com.visualmidia.persistence.SetObservationPaymentCheck


        localization = !localizationButton.getSelection();
        try {
          if (buttonId == OK) {
            if(checkMap != null && checkMap.size() > 1) {
              for (String operationId : checkMap.keySet()) {
                system.execute(new SetObservationPaymentCheck(operationId, observationText.getText(), !localizationButton.getSelection()));
              }
              for (int i = 0; i < checkControlCenter.getCheckTable().getSelection().length; i++) {
                checkControlCenter.getCheckTable().getSelection()[i].setImage(0, new Image(null, !localizationButton.getSelection() ? "img/icoCheckIn.png" : "img/icoCheckOut.png"));
                checkControlCenter.getCheckTable().getSelection()[i].setText(13, observationText.getText());
              }
            } else {
              system.execute(new SetObservationPaymentCheck(operation.getId(), observationText.getText(), !localizationButton.getSelection()));
              checkControlCenter.getCheckTable().getSelection()[0].setImage(0, new Image(null, !localizationButton.getSelection() ? "img/icoCheckIn.png" : "img/icoCheckOut.png"));
              checkControlCenter.getCheckTable().getSelection()[0].setText(13, observationText.getText());
            }
          }
          close();
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.SetObservationPaymentCheck

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.