Examples of removeListener()


Examples of fr.soleil.salsa.client.entity.event.DimensionEnergyModel.removeListener()

                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).removeListener(listenerSensor);
                    }
                    DimensionEnergyModel dimensionEnergyModel = (DimensionEnergyModel) configEnergyModel
                            .getDimensionX();
                    dimensionEnergyModel.removeListener(listenerDimensionEnergy);
                    for (IActuator actuator : dimensionEnergyModel.getActuatorsList()) {
                        ((ActuatorModel) actuator).removeListener(listenerActuator);
                    }
                    for (IRangeEnergy rangeEnergy : dimensionEnergyModel.getRangesEnergyList()) {
                        ((RangeEnergyModel) rangeEnergy).removeListener(listenerRangeEnergy);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.DimensionHCSModel.removeListener()

                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).removeListener(listenerSensor);
                    }
                    DimensionHCSModel dimensionHCSModel = (DimensionHCSModel) configHCSModel
                            .getDimensionX();
                    dimensionHCSModel.removeListener(listenerDimensionHCS);
                    for (IActuator actuator : dimensionHCSModel.getActuatorsList()) {
                        ((ActuatorModel) actuator).removeListener(listenerActuator);
                    }
                    for (IRangeHCS rangeHCS : dimensionHCSModel.getRangesXList()) {
                        ((RangeHCSModel) rangeHCS).removeListener(listenerRangeHCS);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.DimensionKModel.removeListener()

                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).removeListener(listenerSensor);
                    }
                    DimensionKModel dimensionKModel = (DimensionKModel) configKModel
                            .getDimensionX();
                    dimensionKModel.removeListener(listenerDimensionK);
                    for (IActuator actuator : dimensionKModel.getActuatorsList()) {
                        ((ActuatorModel) actuator).removeListener(listenerActuator);
                    }
                    IRangeK rangeK = dimensionKModel.getRangeX();
                    ((RangeKModel) rangeK).removeListener(listenerRangeK);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.DisplayModel.removeListener()

        DisplayModel displayModel = (DisplayModel) display;
        if (listen) {
            displayModel.addListener(displayListener);
        }
        else {
            displayModel.removeListener(displayListener);
        }
    }

    /**
     * Enable/Disable listening to Hook commands.
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ErrorStrategyItemModel.removeListener()

        ErrorStrategyItemModel esim = (ErrorStrategyItemModel) ies;
        if (listen) {
            esim.addListener(listenerErrorStrategyItem);
        }
        else {
            esim.removeListener(listenerErrorStrategyItem);
        }
    }

    /**
     * Enable/Disable listening to Error Strategy.
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ErrorStrategyModel.removeListener()

        ErrorStrategyModel esm = (ErrorStrategyModel) ies;
        if (listen) {
            esm.addListener(listenerErrorStrategy);
        }
        else {
            esm.removeListener(listenerErrorStrategy);
        }
        enableListening(esm.getActuatorsErrorStrategy(), listen);
        enableListening(esm.getSensorsErrorStrategy(), listen);
        enableListening(esm.getTimebasesErrorStrategy(), listen);
        enableListening(esm.getHooksErrorStrategy(), listen);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.HookCommandModel.removeListener()

        HookCommandModel hcm = (HookCommandModel) ihc;
        if (listen) {
            hcm.addListener(listenerHookCommand);
        }
        else {
            hcm.removeListener(listenerHookCommand);
        }
    }

    /**
     * Enable/Disable listening to hook.
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.HookModel.removeListener()

        if (listen) {
            hm.addListener(listenerHook);
        }
        else {
            hm.removeListener(listenerHook);
        }
        if (ih.getCommandsList() != null) {
            for (IHookCommand ihc : ih.getCommandsList()) {
                enableListening(ihc, listen);
            }
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.PostScanBehaviourModel.removeListener()

        if (listen) {
            psbm.addListener(listenerPostScanBehaviour);
        }
        else {
            psbm.removeListener(listenerPostScanBehaviour);
        }
    }

    /**
     * Enable/Disable listening to Error Strategy Item.
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ScanAddOnModel.removeListener()

        if (listen) {
            saom.addListener(listenerScanAddOn);
        }
        else {
            saom.removeListener(listenerScanAddOn);
        }

        enableListening(saom.getErrorStrategy(), listen);
        enableListening(saom.getPostScanBehaviour(), listen);
        enableListening(saom.getDisplay(), listen);
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.