Package org.carrot2.util.attribute

Examples of org.carrot2.util.attribute.BindableDescriptor.only()


        BindableDescriptor descriptor = this.descriptor.only(
            Predicates.not(new InternalAttributePredicate(false))).only(
            new HasEditorPredicate());
        if (filterPredicate != null)
        {
            descriptor = descriptor.only(filterPredicate);
        }

        /*
         * CARROT-818: Check if there is anything for display.
         */
 
View Full Code Here


        BindableDescriptor componentDescriptor = core.getComponentDescriptor(algorithmID);
        if (componentDescriptor == null) {
            throw new RuntimeException("No descriptor for algorithm: " + algorithmID);
        }
        return componentDescriptor.only(Input.class,
            Processing.class).only(Predicates.not(new InternalAttributePredicate(false)));
    }

    /**
     * Creates reusable jobs used in the editor.
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.