Package org.thechiselgroup.choosel.core.client.visualization.model.managed

Examples of org.thechiselgroup.choosel.core.client.visualization.model.managed.DefaultSlotMappingInitializer


        return sidePanelSections;
    }

    protected SlotMappingInitializer createSlotMappingInitializer(
            String contentType) {
        return new DefaultSlotMappingInitializer();
    }
View Full Code Here


     */
    @Override
    protected SlotMappingInitializer createSlotMappingInitializer(
            String contentType) {

        DefaultSlotMappingInitializer initializer = new DefaultSlotMappingInitializer();

        initializer.configureFixedResolver(FIXED_NUMBER_0_RESOLVER_FACTORY);
        initializer.configureFixedResolver(FIXED_TEXT_EMPTY_RESOLVER_FACTORY);
        initializer
                .configureFixedResolver(FIXED_COLOR_STEELBLUE_RESOLVER_FACTORY);
        initializer.configureFixedResolver(FIXED_DATE_TODAY_RESOLVER_FACTORY);

        initializer.configurePropertyResolver(SUM_RESOLVER_FACTORY);
        initializer.configurePropertyResolver(TEXT_PROPERTY_RESOLVER_FACTORY);
        initializer
                .configurePropertyResolver(LOCATION_PROPERTY_RESOLVER_FACTORY);
        initializer.configurePropertyResolver(DATE_PROPERTY_RESOLVER_FACTORY);

        return initializer;
    }
View Full Code Here

        underTest = helper.createTestVisualizationModel();

        resolverProvider = new DefaultVisualItemResolverFactoryProvider();

        initializer = spy(new DefaultSlotMappingInitializer());

        registerPropertyResolver(DataType.NUMBER, "property-number",
                numberPropertyReturnValue);
        registerPropertyResolver(DataType.TEXT, "property-text",
                textPropertyReturnValue);
View Full Code Here

TOP

Related Classes of org.thechiselgroup.choosel.core.client.visualization.model.managed.DefaultSlotMappingInitializer

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.