Package clips.delegate.directory.simple.profcheckupResult

Examples of clips.delegate.directory.simple.profcheckupResult.DirectoryProfcheckupResult


        taDanger.setText(pil.getDanger().getTitle());
        taDanger.setCaretPosition(0);
        taResultExtra.setText(pil.getResultExtra());
        taResultExtra.setCaretPosition(0);
        //загружаем в модель комбо-бокса виды результатов из справочника
        DirectoryProfcheckupResult simple = DirectoryLocator.getDirectory(DirectoryProfcheckupResult.class);
        DefaultComboBoxModel boxModel1 = new DefaultComboBoxModel(simple.toArray());
        cbProfres.setModel(boxModel1);
        cbPassed.setSelected(pil.isPassed());//пройден / непройден
        cbProfres.setEnabled(pil.isPassed());
//        dchLightWorkTill.setEnabled(cbPassed.isSelected());
        this.profcheckupItemLocal = pil;
        dchLightWorkTill.setEnabled(pil.getResult().isLimitaryFit() && cbPassed.isSelected());// показываем панель pnlLightWork
        dchLightWorkTill.setDate(pil.getLightWorkTill());//ставим её в датачузер
        if (pil.isPassed()) {//если профосмотр пройден, то
            cbProfres.setSelectedItem(pil.getResult());//устанавливаем текущий результат
        }else{
            cbProfres.setSelectedItem(simple.getNullItem());
        }
        reloadTable();

    }
View Full Code Here


    public SelectorEditable<MedSerrenResultData> getResultList() throws ClipsException {
        return resultList.selector();
    }

    public DirectoryProfcheckupResultItem getFinalResult() throws ClipsException {
        DirectoryProfcheckupResult dir = DirectoryLocator.getDirectory(DirectoryProfcheckupResult.class);
        return dir.getItemFromID(getDetails().resultID);
    }
View Full Code Here

    public Integer getKey() {
        return getDetails().getId();
    }
   
    public DirectoryProfcheckupResultItem getResult() throws ClipsException {
        DirectoryProfcheckupResult dir = DirectoryLocator.getDirectory(DirectoryProfcheckupResult.class);
        return dir.getItemFromID(getDetails().resultID);
    }
View Full Code Here

        this.getDetails().profcheckupID = profCheckup.getID();
        fireContentStateEvent();
    }

    public DirectoryProfcheckupResultItem getResult() throws ClipsException {
        DirectoryProfcheckupResult ds = DirectoryLocator.getDirectory(DirectoryProfcheckupResult.class);
        try {
            return ds.getItemFromID(getDetails().resultID);
        } catch (DirectoryItemReplacedException ex) {
            reload();
            return ds.getItemFromID(getDetails().resultID);
        }
    }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.simple.profcheckupResult.DirectoryProfcheckupResult

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.