Package clips.delegate.doctor.checkup

Examples of clips.delegate.doctor.checkup.CheckupLocal$DICOMList


   
   
    @Override
    public Object getValueAt(int row, int col) {
        try {
            CheckupLocal checkUpLocal = checkupList.get(row);
            switch (col) {
                case (COL_IN_SEDULE): return checkupsInSedule.contains(checkupList.get(row));
                case (COL_FIO): return checkUpLocal.getSerrenLocal().getPolisData().getClient().getFIO();
                case (COL_DATE): return checkUpLocal.getDate();
                case (COL_PAYED): return checkUpLocal.getSerrenLocal().isSerPayed();
                case (COL_WORK_LIFE): return checkUpLocal.getWorkingLifeDate();
                default: return null;
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
View Full Code Here


                current.get(GregorianCalendar.MONTH),
                current.get(GregorianCalendar.DAY_OF_MONTH));
        checkupList = new ArrayList<CheckupLocal>(freeCheckupList);
        Iterator<CheckupLocal> it = shedule.getCheckupSet().iterator();
        while (it.hasNext()) {
            CheckupLocal cl = it.next();
            checkupList.add(cl);
        }
        this.shedule = shedule;
        if (!UserInfo.get().check(UserRightsSet.MODIFY_CHECKUP_SHEDULE)) {
            btOk.setEnabled(false);
View Full Code Here

        //запросили список чекапов
        checkupList = new ArrayList<CheckupLocal>();
        Set<CheckupLocal> chs = shedule.getCheckupSet();
        for (Iterator<CheckupLocal> it = chs.iterator(); it.hasNext();) {
            CheckupLocal checkup = it.next();
            checkupList.add(checkup);
        }
        //создали список хмльных данных чекапов
        xmlList = new ArrayList<CheckupXMLData>();
        for (CheckupLocal checkup : checkupList) {
            xmlList.add(checkup.getCheckupXMLData());
        }
        //добавим листенеры
        for (CheckupXMLData xml : xmlList) {
            xml.addContentStateListener(getContainer());
            xml.addContentStateListener(this);
View Full Code Here

            jTable1.getCellEditor().stopCellEditing();
        }
        Exception myEx = null;
        try {
            for (int i = 0; i < checkupList.size(); i++) {
                CheckupLocal checkupLocal = checkupList.get(i);
                checkupLocal.setCheckupXMLData(xmlList.get(i));
                checkupLocal.save1();
            }
        } catch (ClipsException ex) {
            myEx = ex;
        }
       
        //Удалим листенеры
        for (CheckupXMLData xml : xmlList) {
            xml.removeContentStateListener(getContainer());
            xml.removeContentStateListener(this);
        }
       
        //xmlList = new ArrayList<CheckupXMLData>();
        xmlList.clear();
        for (int i = 0; i < checkupList.size(); i++) {
            CheckupLocal checkupLocal = checkupList.get(i);
            try {
                CheckupXMLData xml = checkupLocal.getCheckupXMLData();
                xml.addContentStateListener(getContainer());
                xml.addContentStateListener(this);
                xmlList.add(xml);
                prepareTable();
            } catch (ClipsException ex) {
View Full Code Here

        }
       
        //xmlList = new ArrayList<CheckupXMLData>();
        xmlList.clear();
        for (int i = 0; i < checkupList.size(); i++) {
            CheckupLocal checkupLocal = checkupList.get(i);
            try {
                CheckupXMLData xml = checkupLocal.getCheckupXMLData();
                xml.addContentStateListener(getContainer());
                xml.addContentStateListener(this);
                xmlList.add(xml);
                prepareTable();
            } catch (ClipsException ex) {
View Full Code Here

            super(contaner);
        }

        @Override
        protected CheckupLocal createDelegate(CheckupDetails d) throws Exception {
            return new CheckupLocal(d, SerRenLocal.this, getAuditListener());
        }
View Full Code Here

        );
    }// </editor-fold>//GEN-END:initComponents

    private void btProbeActionPerformed(java.awt.event.ActionEvent evt) {                                           
        if (jTable1.getSelectedRowCount() > 0) {
            CheckupLocal checkUp = checkupList.get(jTable1.getSelectedRowSorted());
            try {
                checkUp.addContentStateListener(emptyListener);
                checkUp.getSerrenLocal().addContentStateListener(emptyListener);
                DialogTakeSample dialog = new DialogTakeSample(MainWindow.mainWindow, checkUp, getAuditManager());
                dialog.setVisible(true);
                jTable1.updateUI();
            } catch (ClipsException ex) {
                MessageBox.showException(ex);
View Full Code Here

        }
}//GEN-LAST:event_btServiceActionPerformed

private void btAnalyseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btAnalyseActionPerformed
        if (jTable1.getSelectedRowCount() > 0) {
            CheckupLocal checkUp = checkupList.get(jTable1.getSelectedRowSorted());
            try {
                checkUp.addContentStateListener(emptyListener);
                checkUp.getSerrenLocal().addContentStateListener(emptyListener);
                DialogRenderAnalyseIndividual dialog = new DialogRenderAnalyseIndividual(MainWindow.mainWindow, checkUp, getAuditManager());
                dialog.setVisible(true);
                jTable1.updateUI();
            } catch (ClipsException ex) {
                MessageBox.showException(ex);
View Full Code Here

}//GEN-LAST:event_btAnalyseActionPerformed

private void jTable1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTable1MouseClicked
        if (evt.getClickCount() == 2) {
            if (jTable1.getSelectedRowCount() > 0) {
                CheckupLocal checkUp = checkupList.get(jTable1.getSelectedRowSorted());
                try {
                    checkUp.addContentStateListener(emptyListener);
                    checkUp.getSerrenLocal().addContentStateListener(emptyListener);
                    DialogTakeSample dialog = new DialogTakeSample(MainWindow.mainWindow, checkUp, getAuditManager());
                    dialog.setVisible(true);
                    jTable1.updateUI();
                } catch (ClipsException ex) {
                    MessageBox.showException(ex);
View Full Code Here

TOP

Related Classes of clips.delegate.doctor.checkup.CheckupLocal$DICOMList

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.