Package com.dci.intellij.dbn.common.filter

Examples of com.dci.intellij.dbn.common.filter.Filter


        this.dependencyAdapter = dependencyAdapter;
        this.indexed = indexed;
    }

    public boolean accepts(T element) {
        Filter filter = getFilter();
        return filter == null || filter.accepts(element);
    }
View Full Code Here


    public boolean isDirty() {
        if (isDirty || dependencyAdapter.isDirty()) {
            return true;
        }

        Filter filter = getFilter();
        return filter == null ?
                filterHashCode != 0 :
                filterHashCode != filter.hashCode();

        //return isDirty /*|| (elements.size() > 0 && elements.get(0).isDisposed())*/;
    }
View Full Code Here

     * do whatever is needed after the content is loaded (e.g. refresh browser tree..)
     */
    public abstract void notifyChangeListeners();

    public void setElements(List<T> elements) {
        Filter filter = getFilter();
        filterHashCode = filter == null ? 0 : filter.hashCode();

        if (isDisposed || elements == null || elements.size() == 0) {
            elements = EMPTY_LIST;
            index = null;
        } else {
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.common.filter.Filter

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.