Package cli_fmw.delegate.directory.simple.arm

Examples of cli_fmw.delegate.directory.simple.arm.DirectoryArmAbstract


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

        //загрузим справочник АРМов
        DirectoryArmAbstract ds = DirectoryLocator.getDirectory(DirectoryArmAbstract.class, false);
       
        //и загоним в модель листа
        DefaultListModel model = new DefaultListModel();
        SelectorEditableExceptional<?> selector = ds.getItems();//возьмём селектор
        for (int i = 0; i < selector.size(); i++) {
            model.addElement(selector.get(i));
        }
        lstARMs.setModel(model);//назначим листу модель
        lstARMs.setSelectionMode(0);//выделять можно только 1 строку
View Full Code Here


                    }
                }
            }
        });

        DirectoryArmAbstract armDirectory = DirectoryLocator.getDirectory(DirectoryArmAbstract.class, false);
        Selector<?> items = armDirectory.getItems();
        for (int i = 0; i < items.size(); i++) {
            cbArm.addItem(items.get(i));
        }
        //слушатель для комбобокса панелей
        cbArm.addActionListener(new ActionListener() {
View Full Code Here

TOP

Related Classes of cli_fmw.delegate.directory.simple.arm.DirectoryArmAbstract

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.