Package clips.analysis.shedule.SheduleEdit

Examples of clips.analysis.shedule.SheduleEdit.DialogSheduleEditM1


                //trySincShedule(shedule);
            }
            //Создание и вызов диалога
            shedule.addContentStateListener(getContainer());
            CollectionUtils.addObectIfNotExist(checkupSheduleLocalList, shedule);
            DialogSheduleEditM1 dialog
                    = new DialogSheduleEditM1(MainWindow.mainWindow,
                                              freeCheckupMap.get(shedule.getType()),
                                              shedule, getAuditManager());
            dialog.addPropertyChangeListener(this);
            dialog.setVisible(true);


            //посмотрим чего вернул диалог
            int res = dialog.getDlgResult();
            System.out.println("FREE PANEL: "+freeCheckupMap);
            switch (res) {
                case ModalDialog.DLG_OK:
                    //готово или анализ
                    trySincShedule(shedule);//пробуем сохранить
                    if (dialog.getIndividualCheckUp() != null) {//проверим, мож индивидуальный анализ
                        individualAnalyse(dialog.getIndividualCheckUp(), shedule);
                    }
                    break;
                case ModalDialog.DLG_CANCEL:
                    //отмена
                    shedule.restore();//откатим шедулю
View Full Code Here

TOP

Related Classes of clips.analysis.shedule.SheduleEdit.DialogSheduleEditM1

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.