Package clips.delegate.directory.filtered

Examples of clips.delegate.directory.filtered.DirectoryMatterItem


    }

    @Override
    public void setValueAt(Object value, int row, int col) {
        try {
            DirectoryMatterItem item = matterList.get(row);
            item.setTitle((String) value);
        } catch (ClipsException ex) {
            MessageBox.showException(ex);
        }
    }
View Full Code Here


    @Override
    protected DirectoryMatterItem getNewItem(String title) {
        if (title == null || title.trim().isEmpty()) {
            return null;
        } else {
            return new DirectoryMatterItem(new DirectoryItemDetails(0, title));
        }
    }
View Full Code Here

    if (vidalItem != null)    {
        try {
            DialogDirectoryMatter dialog = new DialogDirectoryMatter(MainWindow.mainWindow, directoryMatter, "", true);
            dialog.setVisible(true);
            if (dialog.getDlgResult() == ModalDialog.DLG_OK){
                DirectoryMatterItem newItem = dialog.getSelectedItem();
                if (newItem != null) {
                    SelectorEditableExceptional<DirectoryMatterItem> s
                            =  directoryMatter.getFilteredItems(vidalItem);
                    if (newItem.getID() != 0) {
                        s.append(newItem);
                    }
                }
                updateTableMatter();
            }           
View Full Code Here

        } else {
            s = mapFiltered.get(vidal);
        }
        boolean contraFounded = false;
        for (int i = 0; i < s.size(); i++) {
            DirectoryMatterItem vMatterItem = s.get(i);
            if (matterIDSet.contains(vMatterItem.getID())) {
                contraFounded = true;
            }
        }
        return contraFounded;
    }
View Full Code Here

TOP

Related Classes of clips.delegate.directory.filtered.DirectoryMatterItem

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.