Package clips.doctor.checkup.prepareCheckup

Examples of clips.doctor.checkup.prepareCheckup.DialogEditCheckUpList


            if (xmlList.get(i) != null) {
                needDlg = true;
            }
        }
        if (needDlg) {
            DialogEditCheckUpList dlg = new DialogEditCheckUpList(MainWindow.mainWindow, xmlList);
            dlg.setVisible(true);
            if (dlg.getDlgResult() == ModalDialog.DLG_CANCEL) {
                return;
            }
        }

        //создаем список услуг, содержащих хмл
View Full Code Here


            dirties[i] = xmlData.isDirty();
            types[i] = xmlData.getCheckupType();
            i++;
        }

        DialogEditCheckUpList dlg = new DialogEditCheckUpList(MainWindow.mainWindow,
                new ArrayList<CheckupXMLData>(xmlMap.values())) {

            @Override
            public void setVisible(boolean b) {
                super.setVisible(b);
                this.setLocation(btInfo.getLocationOnScreen());
            }
        };
        dlg.setAlwaysOnTop(true);
        dlg.setVisible(true);
        if (dlg.getDlgResult() == ModalDialog.DLG_CANCEL) {
            //hindu restore
            try {
                for (int j = 0; j < size; j++) {
                    xmlMap.put(idxs[j], new CheckupXMLData(types[j], xmls[j], dirties[j]));
                }
            } catch (JDOMException ex) {
                MessageBox.showException(new ClipsException("Произошла ошибка,\n корректность назначения проб не гарантирована.", ex));
                xmlFilled = false;
            }
            xmlFilled = false;
            return;
        }
        if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
            xmlFilled = true;
        }
        if (xmlFilled){
            btAnalises.setBackground(DefaultColors.BUTTON_BACKGROUND);
        }else{
View Full Code Here

                if (xmlList.get(i) != null) {
                    needDlg = true;
                }
            }
            if (needDlg) {
                DialogEditCheckUpList dlg = new DialogEditCheckUpList(this, xmlList);
                dlg.setVisible(true);
                if (dlg.getDlgResult() == ModalDialog.DLG_CANCEL) {
                    return;
                }
            }

            //создаем список услуг, содержащих хмл
View Full Code Here

TOP

Related Classes of clips.doctor.checkup.prepareCheckup.DialogEditCheckUpList

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.