Package com.volantis.mcs.runtime.themes

Examples of com.volantis.mcs.runtime.themes.ThemeActivator


                policyFactory.createThemeContentBuilder();
        themeContent.setStyleSheet(styleSheet);

        PolicyReferenceFactory referenceFactory = createReferenceFactory();

        ThemeActivator themeActivator = new ThemeActivator(referenceFactory);

        // Get the activated variant.
        Content activatedContent = activateContent(themeContent, themeActivator,
                "policy.mthm", PolicyType.THEME, VariantType.THEME);
View Full Code Here


             i.hasNext();) {
            PolicyType policyType = (PolicyType) i.next();

            PolicyActivator activator;
            if (policyType == PolicyType.THEME) {
                activator = new ThemeActivator(referenceFactory);
            } else if (policyType == PolicyType.LAYOUT) {
                activator = new LayoutActivator(referenceFactory);
            } else {
                activator = variablePolicyActivator;
            }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.themes.ThemeActivator

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.