Package fr.soleil.data.plugin

Examples of fr.soleil.data.plugin.UnitPlugin


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

        UnitPlugin unitPlugin = getPlugin(target, UnitPlugin.class);
        if (unitPlugin != null) {
            unitPlugin.setUnitEnabled(state);
        }
    }
View Full Code Here


    /**
     * @return true if the coloration appears, false otherwise
     */
    public boolean isUnitEnabled(T target) {
        boolean result = false;
        UnitPlugin plugin = getLinkedPlugin(target, UnitPlugin.class);
        if (plugin != null) {
            result = plugin.isUnitEnabled();
        }
        return result;
    }
View Full Code Here

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

        UnitPlugin unitPlugin = getPlugin(target, UnitPlugin.class);
        if (unitPlugin != null) {
            unitPlugin.setUnitEnabled(state);
        }
    }
View Full Code Here

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

        UnitPlugin unitPlugin = getPlugin(target, UnitPlugin.class);
        if (unitPlugin != null) {
            unitPlugin.setUnitEnabled(state);
        }
    }
View Full Code Here

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

        UnitPlugin unitPlugin = getPlugin(target, UnitPlugin.class);
        if (unitPlugin != null) {
            unitPlugin.setUnitEnabled(state);
        }
    }
View Full Code Here

TOP

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

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.