Package com.volantis.mcs.runtime.layouts

Examples of com.volantis.mcs.runtime.layouts.ActivatedLayoutContent


         StyleSheetActivator styleSheetActivator =
                 new StyleSheetActivatorImpl(null, null);

         // Activate it to turn it into a runtime device layout
         LayoutContentActivator activator = new LayoutContentActivator();
         final ActivatedLayoutContent activatedLayoutContent =
                 activator.activateLayoutContent(styleSheetActivator,
                         (InternalLayoutContent) layoutContent.getContent());
         RuntimeDeviceLayout runtimeLayout = new RuntimeLayoutAdapter(
                 "<anonymous>", layout,
                 activatedLayoutContent.getCompiledStyleSheet(),
                 activatedLayoutContent.getContainerNameToFragments());

         return runtimeLayout;
     }
View Full Code Here


    public RepositoryObject createOldObject(
            ActivatedVariablePolicy policy, Variant variant,
            InternalDevice device) {

        ActivatedLayoutContent content =
                (ActivatedLayoutContent) variant.getContent();

        return new RuntimeLayoutAdapter(policy.getName(), content.getLayout(),
                content.getCompiledStyleSheet(),
                content.getContainerNameToFragments());
    }
View Full Code Here

        StyleSheetActivator styleSheetActivator =
                new StyleSheetActivatorImpl(null, null);

        // Activate it to turn it into a runtime device layout
        LayoutContentActivator activator = new LayoutContentActivator();
        final ActivatedLayoutContent activatedLayoutContent =
                activator.activateLayoutContent(styleSheetActivator,
                        (InternalLayoutContent) layoutContent.getContent());
        RuntimeDeviceLayout runtimeLayout = new RuntimeLayoutAdapter(
                "<anonymous>", layout,
                activatedLayoutContent.getCompiledStyleSheet(),
                activatedLayoutContent.getContainerNameToFragments());

        return runtimeLayout;
    }
View Full Code Here

        StyleSheetActivator styleSheetActivator =
                new StyleSheetActivatorImpl(null, null);

        // Activate it to turn it into a runtime device layout
        LayoutContentActivator activator = new LayoutContentActivator();
        final ActivatedLayoutContent activatedLayoutContent =
                activator.activateLayoutContent(styleSheetActivator,
                        (InternalLayoutContent) layoutContent.getContent());
        RuntimeDeviceLayout runtimeLayout = new RuntimeLayoutAdapter(
                "<anonymous>", layout,
                activatedLayoutContent.getCompiledStyleSheet(),
                activatedLayoutContent.getContainerNameToFragments());

        return runtimeLayout;
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.layouts.ActivatedLayoutContent

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.