Package br.com.visualmidia.ui.dialog

Examples of br.com.visualmidia.ui.dialog.ObservationCheckDialog


                        setErrorMessage("Voc� deve selecionar pelo menos um cheque.");
                    } else if (item.length == 1) {
                        setErrorMessage("");
                        Operation operation  = ((Operation) system.query(new GetOperation(item[0].getText(1))));
                        PaymentCheck check = (PaymentCheck) operation.getPaymentType();
                        new ObservationCheckDialog(mainPanel.getShell(), check, operation, getMySelf()).open();
                    } else {
                      setErrorMessage("");
                      Map<String, PaymentCheck> checkMap = new HashMap<String, PaymentCheck>();
                      for (TableItem it : item) {
                        Operation operation  = ((Operation) system.query(new GetOperation(it.getText(1))));
                            PaymentCheck check = (PaymentCheck) operation.getPaymentType();
                            checkMap.put(operation.getId(), check);
            }
                      new ObservationCheckDialog(mainPanel.getShell(), checkMap, getMySelf()).open();
                    }
                } catch (Exception e) {
                    logger.error("GetCheckByRegistrationAndParcel exception: ",e);
                }
            }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.ui.dialog.ObservationCheckDialog

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.