Examples of VisualItemValueResolverFactory


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

         * will handled elsewhere
         */
        factorySelectedChangeHandler = new ChangeHandler() {
            @Override
            public void onChange(ChangeEvent event) {
                VisualItemValueResolverFactory resolverFactory = resolverFactorySelector
                        .getSelectedValue();

                LightweightCollection<VisualItem> visualItems = configuration
                        .getVisualItems();

                configuration.getManagedSlotMapping(getSlot()).setResolver(
                        resolverFactory.create(visualItems));

                updateOptions(visualItems);
            }
        };

View Full Code Here

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

        resolverFactorySelector.setChangeHandler(factorySelectedChangeHandler);

        resolverFactorySelector.setValues(getFactoryList());

        // XXX what if the current factory becomes unavailable?
        VisualItemValueResolverFactory currentFactory = configuration
                .getManagedSlotMapping(getSlot()).getCurrentFactory();

        assert currentFactory.canCreateApplicableResolver(getSlot(),
                visualItems);

        resolverFactorySelector.setSelectedValue(currentFactory);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.