Package org.auraframework.css

Examples of org.auraframework.css.ThemeValueProvider


    public void validateReferences() throws QuickFixException {
        super.validateReferences();

        // validate that expressions reference valid vars
        if (!expressions.isEmpty()) {
            ThemeValueProvider vp = Aura.getStyleAdapter().getThemeValueProviderNoOverrides(descriptor);
            for (String reference : expressions) {
                vp.getValue(reference, getLocation()); // getValue will validate it's a valid expression/variable
            }
        }
    }
View Full Code Here


    private final ThemeFunctionRefiner themeRefiner;

    /** use a constructor method instead */
    private ThemeFunctionPlugin(boolean passthrough, DefDescriptor<StyleDef> styleDef) throws QuickFixException {

        ThemeValueProvider provider;
        if (passthrough) {
            provider = Aura.getStyleAdapter().getThemeValueProviderNoOverrides(styleDef);
        } else {
            provider = Aura.getStyleAdapter().getThemeValueProvider(styleDef);
        }
View Full Code Here

TOP

Related Classes of org.auraframework.css.ThemeValueProvider

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.