Package clips.delegate.directory.simple.expenditureMetric

Examples of clips.delegate.directory.simple.expenditureMetric.DirectoryExpenditureMetric


     * Возвращает метрику расходных материалов
     * @return
     * @throws ClipsException
     */
    public DirectoryExpenditureMetricItem getMetrics() throws ClipsException {
        DirectoryExpenditureMetric directory = DirectoryLocator.getDirectory(DirectoryExpenditureMetric.class);
        return directory.getItemFromID(getDetails().metricID);
    }
View Full Code Here


    public PanelExpTypesEdit(PageContainer container) throws ClipsException {
        super(container);
        initComponents();
        directory = DirectoryLocator.getDirectory(DirectoryExpenditureType.class, false);
        cache = directory.getItems();
        DirectoryExpenditureMetric ds = DirectoryLocator.getDirectory(DirectoryExpenditureMetric.class);
        Selector ii = ds.getItems();
        DefaultComboBoxModel model = new DefaultComboBoxModel();// модель комбобокса
        for (int i = 0; i < ii.size(); i++) {
            model.addElement((DirectoryItem) ii.get(i));// заполнение модели
        }
        cbMetric.setModel(model); // комбобокс на панели
View Full Code Here

TOP

Related Classes of clips.delegate.directory.simple.expenditureMetric.DirectoryExpenditureMetric

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.