Package clips.delegate.directory.ro

Examples of clips.delegate.directory.ro.DirectoryLpu


        Calendar date = Calendar.getInstance();
        year = date.get(Calendar.YEAR);
        month = date.get(Calendar.MONTH) + 1;

        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class);
        lpuPanel.setData(dir, UserInfo.get().getCollaborator().getLpu(), "Поликлиника:");
        lpuPanel.addChoosePanelListener(new ChoosePanelComboListener() {
            @Override
            public void chooseDone(int type, int id) throws ChoosePanelComboException {
View Full Code Here


    public String getDescription() {
        return getDetails().description;
    }

    public DirectoryLpuItem getLpu() throws ClipsException {
        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class);
        if (getDetails().lpuId == 0) {
            return null;
        }
        return dir.getItemFromID(getDetails().lpuId);
    }
View Full Code Here

   */
    public PanelEditCabinets(PageContainer container) throws ClipsException {
        super(container);
        initComponents();
       
    DirectoryLpu        dirLpu = DirectoryLocator.getDirectory(DirectoryLpu.class);
    DefaultComboBoxModel    model = new DefaultComboBoxModel(dirLpu.toArray());
    model.setSelectedItem(UserInfo.get().getCollaborator().getLpu());
    cbLpu.setModel(model);
        directory = DirectoryLocator.getDirectory(DirectoryCabinet.class, false);
        tabCabinets.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
       
View Full Code Here

        this.showNotInShedule = showNotInShedule;
        this.withNull = withNull;
        selectedLpu = UserInfo.get().getCollaborator().getLpu();

        DirectoryCollaborator dirColl = DirectoryLocator.getDirectory(DirectoryCollaborator.class);
        DirectoryLpu dirLpu = DirectoryLocator.getDirectory(DirectoryLpu.class);
        DirectoryObjectComboBoxModel model = new DirectoryObjectComboBoxModel(cbLpu, dirLpu) {

            @Override
            public DirectoryItemRO getSelectedDirectoryItem() throws ClipsException {
                return selectedLpu;
View Full Code Here

   */
    public PanelEditDistricts(PageContainer container) throws ClipsException {
        super(container);
        initComponents();
       
    DirectoryLpu        dirLpu = DirectoryLocator.getDirectory(DirectoryLpu.class);
    DefaultComboBoxModel    model = new DefaultComboBoxModel(dirLpu.toArray());
    model.setSelectedItem(UserInfo.get().getCollaborator().getLpu());
    cbLpu.setModel(model);
        directory = DirectoryLocator.getDirectory(DirectoryDistrict.class, false);
        tabDistricts.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
       
View Full Code Here

    public DirectoryLaboratoryItem(LaboratoryDetails details) {
        super(details);       
    }

    public DirectoryLpuItem getLpu() throws ClipsException {
        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class);
        if (getDetails().lpuId == 0) {
            return null;
        }
        return dir.getItemFromID(getDetails().lpuId);
    }
View Full Code Here

    public DirectoryDistrictItem(DistrictDetails details) {
        super(details);
    }

    public DirectoryLpuItem getLpu() throws ClipsException {
        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class);
        if (getDetails().lpu == 0) {
            return null;
        }
        return dir.getItemFromID(getDetails().lpu);
    }
View Full Code Here

                getObject().setBloodGroup(item);
            }
        });
        //Комбо с клиниками
        selectedLpu = clientLocal.getDistrict().getLpu();
        DirectoryLpu dirLpu = DirectoryLocator.getDirectory(DirectoryLpu.class);
        DirectoryObjectComboBoxModel lpuModel = new DirectoryObjectComboBoxModel(cbLpu, dirLpu) {

            @Override
            public boolean isSelectionVisible() {
                return true;
View Full Code Here

        Dimension scrSize = Toolkit.getDefaultToolkit().getScreenSize();
        Rectangle dlgSize = this.getBounds();
        this.setLocation((scrSize.width - dlgSize.width) / 2, (scrSize.height - dlgSize.height) / 2);

        collsDir = DirectoryLocator.getDirectory(DirectoryCollaborator.class, true);
        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class, true);
        //refreshComboBoxes();
        readSpecFromFile();

        Calendar cal = GregorianCalendar.getInstance();
        if (cal.get(Calendar.MONTH) == Calendar.APRIL
View Full Code Here

    public DirectoryLpuItem getLpu() throws ClipsException {
        if (getDetails().lpuID == 0) {
            return null;
        }
        DirectoryLpu dir = DirectoryLocator.getDirectory(DirectoryLpu.class);
        return dir.getItemFromID(getDetails().lpuID);
    }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.ro.DirectoryLpu

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.