Package fr.soleil.data.plugin

Examples of fr.soleil.data.plugin.FormatPlugin


        if (tempCaps instanceof ScalarCaps) {
            ScalarCaps<?, ?> targetCaps = (ScalarCaps<?, ?>) tempCaps;
            targetCaps.setFormatEnabled(state);
        }

        FormatPlugin plugin = getPlugin(target, FormatPlugin.class);
        if (plugin != null) {
            plugin.setFormatEnabled(state);
        }
    }
View Full Code Here


    protected void initPlugins(IDataSourceProducer producer, AbstractDataSource<?> source,
            ITextTarget target) {
        super.initPlugins(producer, source, target);
        NumberToStringDataAdapter numberAdapter = getNumberAdapter(source);
        if (numberAdapter != null) {
            FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);
            if (foundedPlugin != null) {
                try {
                    foundedPlugin.addPlugin(source.getOriginDescriptor(), numberAdapter);
                }
                catch (UnhandledDataTypeException e) {
                    e.printStackTrace();
                }
            }
View Full Code Here

        super.initPlugins(producer, source, target);

        NumberToStringDataAdapter numberAdapter = getNumberAdapter(source);
        if (numberAdapter != null) {
            FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);

            if (foundedPlugin != null) {
                try {
                    foundedPlugin.addPlugin(source.getOriginDescriptor(), numberAdapter);
                }
                catch (UnhandledDataTypeException e) {
                    e.printStackTrace();
                }
            }
View Full Code Here

    protected void initPlugins(IDataSourceProducer producer, AbstractDataSource<?> source,
            ITextTarget target) {
        super.initPlugins(producer, source, target);
        NumberToStringDataAdapter numberAdapter = getNumberAdapter(source);
        if (numberAdapter != null) {
            FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);
            if (foundedPlugin != null) {
                try {
                    foundedPlugin.addPlugin(source.getOriginDescriptor(), numberAdapter);
                }
                catch (UnhandledDataTypeException e) {
                    e.printStackTrace();
                }
            }
View Full Code Here

    @Override
    protected void initPlugins(AbstractDataSource<?> source, ITextTarget target) {
        super.initPlugins(source, target);
        NumberToStringDataAdapter<?> numberAdapter = getNumberAdapter(source);
        if (numberAdapter != null) {
            FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);
            if (foundedPlugin != null) {
                foundedPlugin.addPlugin(numberAdapter);
            }
        }
    }
View Full Code Here

        if (tempCaps instanceof ScalarCaps) {
            ScalarCaps<?, ?> targetCaps = (ScalarCaps<?, ?>) tempCaps;
            targetCaps.setFormatEnabled(state);
        }

        FormatPlugin plugin = getPlugin(target, FormatPlugin.class);
        if (plugin != null) {
            plugin.setFormatEnabled(state);
        }
    }
View Full Code Here

    @Override
    protected void initPlugins(AbstractDataSource<?> source, ITextTarget target) {
        super.initPlugins(source, target);
        NumberToStringDataAdapter<?> numberAdapter = getNumberAdapter(source);
        if (numberAdapter != null) {
            FormatPlugin foundedPlugin = getPlugin(target, FormatPlugin.class);
            if (foundedPlugin != null) {
                foundedPlugin.addPlugin(numberAdapter);
            }
        }
    }
View Full Code Here

TOP

Related Classes of fr.soleil.data.plugin.FormatPlugin

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.