Package org.auraframework.builder

Examples of org.auraframework.builder.StyleDefBuilder


    protected void fix() throws QuickFixException {
        BuilderService builderService = Aura.getBuilderService();
        DefinitionService definitionService = Aura.getDefinitionService();

        DefDescriptor<StyleDef> styleDescriptor = (DefDescriptor<StyleDef>) getAttributes().get("descriptor");
        StyleDefBuilder builder = builderService.getStyleDefBuilder();

        builder.setDescriptor(styleDescriptor);
        builder.setClassName(styleDescriptor.getNamespace() + AuraTextUtil.initCap(styleDescriptor.getName()));
        StyleDef styleDef = builder.build();
        definitionService.save(styleDef);
    }
View Full Code Here

TOP

Related Classes of org.auraframework.builder.StyleDefBuilder

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.