Package com.volantis.mcs.policies.variants.selection

Examples of com.volantis.mcs.policies.variants.selection.SelectionType


    // Javadoc inherited
    public boolean canFlipToNextPage() {
        IStructuredSelection selection =
                (IStructuredSelection) criteriaList.getSelection();
        SelectionType type = (SelectionType) selection.getFirstElement();
        return SelectionType.TARGETED == type && (getNextPage() != null);
    }
View Full Code Here


     *
     * @return A selection builder, or null if no appropriate one can be found
     */
    private SelectionBuilder getSelectionBuilder() {
        IStructuredSelection selection = (IStructuredSelection) criteriaList.getSelection();
        SelectionType type = (SelectionType) selection.getFirstElement();

        SelectionBuilder builder = null;
        if (SelectionType.DEFAULT == type) {
            builder = POLICY_FACTORY.createDefaultSelectionBuilder();
        } else if (SelectionType.ENCODING == type) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.policies.variants.selection.SelectionType

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.