Examples of toArray()


Examples of cli.System.Collections.ArrayList.ToArray()

            }
            if(list.get_Count() == 0)
            {
                return new String[] { arg };
            }
            return (String[])(Object)list.ToArray(Type.GetType("System.String"));
        }
        catch(Throwable _)
        {
            return new String[] { arg };
        }
View Full Code Here

Examples of cli_fmw.delegate.directory.complex.DirectoryKladrItem.toArray()

                    ArrayList<DirectoryKladrItem> path = new ArrayList<DirectoryKladrItem>();
                    if (item.getType().getLevel() < DirectoryKladrType.LAST_USING_LEVEL) {
                        path.add(null);
                    }
                    if (item.getType().isType("улица")) {
                        tblBlocks.setModel(new TableModelBlocks(item.toArray(new DirectoryKladrItem[item.getItems().size()])));
                        tblBlocks.setVisible(true);
                    } else {
                        tblBlocks.setVisible(false);
                    }
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryDoctorAction.toArray()

            DirectoryServiceItem item = dirService.getItems().get(i);
            serviceMap.put(item.getFullCode(), item);
        }
       
        Map<String, DirectoryDoctorActionItem> actionMap = new HashMap<String, DirectoryDoctorActionItem>();
        DirectoryItemRO[] actionArr = dirAction.toArray(false, true);
        for (int i = 0; i < actionArr.length; i++) {
            DirectoryDoctorActionItem item = (DirectoryDoctorActionItem) actionArr[i];
            actionMap.put(item.getGroupCode(), item);
        }
       
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryLaboratory.toArray()

        cfl = new CheckupFactoryLocal(getAuditManager());
        //заполнение комбо
       
        DirectoryLaboratory dirLab = DirectoryLocator.getDirectory(DirectoryLaboratory.class);
    ROList<DirectoryLaboratoryItem> list = dirLab.getFilteredItems(UserInfo.get().getCollaborator().getLpu());
        jComboBox1.setModel(new DefaultComboBoxModel(dirLab.toArray()));
        jTable1.setModel(new TableModelAnalyseList(new ArrayList<CheckupLocal>()));
        jTable1.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            @Override
            public void valueChanged(ListSelectionEvent e) {
                if (jTable1.getSelectedRowSorted() >= 0) {
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryMKB10.toArray()

    public DirectoryDialogMKB10(boolean multipleSelected, Object selected) throws ClipsException {
        super(multipleSelected, selected, "МКБ 10", null);
        initComponents();
       
        DirectoryMKB10 mkb10 = DirectoryLocator.getDirectory(DirectoryMKB10.class, false);
        setData(mkb10.toArray(true, false), tree, selectBtn, cancelBtn);
       
        searchBy.addItem(bytitle);
        searchBy.addItem(bycode);
        searchBy.addItem(bymask);
               
View Full Code Here

Examples of clips.delegate.directory.complex.DirectoryServicesGroup.toArray()

    public PanelExpenditureDefaultEdit(PageContainer container) throws ClipsException {
        super(container);
        initComponents();

    DirectoryServicesGroup directory = DirectoryLocator.getDirectory(DirectoryServicesGroup.class, false);
    DirectoryItemRO[] array = directory.toArray(false, false);
    treeModel = new TreeModelServices(array, "Услуги");

    trServices.setModel(treeModel);
    DefaultTreeCellRenderer render = new DefaultTreeCellRenderer();
    render.setLeafIcon(null);
View Full Code Here

Examples of clips.delegate.directory.ro.DirectoryLpu.toArray()

    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

Examples of clips.delegate.directory.simple.clientDocumentType.DirectoryDocumentType.toArray()

                }
            }
        });

        DirectoryDocumentType dirDocType = DirectoryLocator.getDirectory(DirectoryDocumentType.class);
        model = new DefaultComboBoxModel(dirDocType.toArray());
        cbDocType.setModel(model);
        cbDocType.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here

Examples of clips.delegate.directory.simple.discountCard.DirectoryDiscountCardType.toArray()

        moneyListener = new MoneyListener();

        initComponents();

        DirectoryDiscountCardType directory = DirectoryLocator.getDirectory(DirectoryDiscountCardType.class);
        DefaultComboBoxModel model = new DefaultComboBoxModel(directory.toArray());
        cbCardType.setModel(model);
        this.cardLocal = cardLocal_;
        updateScreenFields(cardLocal);
        cardLocal.addContentStateListener(getContainer());
View Full Code Here

Examples of clips.delegate.directory.simple.documentGivenPlace.DirectoryDocumentGivenPlace.toArray()

            }
        };

        //Комбо место выдачи документа
        DirectoryDocumentGivenPlace dirDocPlace = DirectoryLocator.getDirectory(DirectoryDocumentGivenPlace.class, false);
        DefaultComboBoxModel model = new DefaultComboBoxModel(dirDocPlace.toArray());
        cbDocGivenPlace.setModel(model);
        cbDocGivenPlace.addActionListener(new ActionListener() {

            @Override
            public void actionPerformed(ActionEvent e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.