Package clips.delegate.directory.simple.reasonDown

Examples of clips.delegate.directory.simple.reasonDown.DirectoryReasonDown


            DefaultComboBoxModel model = new DefaultComboBoxModel(serRenLocals.toArray());
            model.insertElementAt("Без посещения", 0);
            cbSerren.setModel(model);
        }
        //причина снятия
        DirectoryReasonDown directoryRD = DirectoryLocator.getDirectory(DirectoryReasonDown.class);
        cbReasonDown.setModel(new DefaultComboBoxModel(directoryRD.toArray()));
        cbReasonDown.setSelectedItem(directoryRD.getNullItem());
        btOK.setEnabled(false);

        this.pack();
        StateSaver.attachTo(this);
    }
View Full Code Here


                getObject().setReasonUp(item);
            }
        };

        //причина снятия
        DirectoryReasonDown directoryRD = DirectoryLocator.getDirectory(DirectoryReasonDown.class);
        new DirectorySimpleFilteredComboBoxModel<FollowupLocal, DirectoryReasonDownItem> (cbReasonDown, followUpLocal, directoryRD) {

            @Override
            public DirectoryReasonDownItem getSelectedDirectoryItem() throws ClipsException {
                return getObject().getReasonDown();
View Full Code Here

        getDetails().reasonUp = reasonUp.getID();
        fireContentStateEvent();
    }

    public DirectoryReasonDownItem getReasonDown() throws ClipsException {
        DirectoryReasonDown reasonDownList = DirectoryLocator.getDirectory(DirectoryReasonDown.class);
        try {
            return reasonDownList.getItemFromID(getDetails().reasonDown);
        } catch (DirectoryItemReplacedException ex) {
            reload();
            return reasonDownList.getItemFromID(getDetails().reasonDown);
        }
    }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.simple.reasonDown.DirectoryReasonDown

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.