Package com.volantis.mcs.layouts.common

Examples of com.volantis.mcs.layouts.common.LayoutType


    private void setLayoutEnabled(boolean enabled) {
        if (providesLayout) {
            // Retrieve the layout type - canvas, montage or null.
            InternalLayoutContentBuilder content =
                    (InternalLayoutContentBuilder) getModelContent();
            LayoutType layoutType = null;
            if (content != null) {
                Layout layout = content.getLayout();
                if (layout != null) {
                    layoutType = layout.getType();
                }
View Full Code Here


        Iterator it = variants.iterator();
        while (it.hasNext()) {
            VariantBuilder variant = (VariantBuilder) it.next();
            InternalLayoutContentBuilder content = (InternalLayoutContentBuilder)
                    ((InternalPolicyFactory) POLICY_FACTORY).createLayoutContentBuilder();
            LayoutType type = null;
            Object selected = ((IStructuredSelection) layoutType.
                    getSelection()).getFirstElement();
            if (selected instanceof LayoutType) {
                type = (LayoutType) selected;
            }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.layouts.common.LayoutType

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.