Examples of addListener()


Examples of edu.zao.fire.editors.RenamerRuleEditorManager.addListener()

   * to that editor so that rule changes will be forwarded to it.
   */
  public void installListeners() {
    RenamerRuleEditorManager editorManager = Activator.getDefault().getEditorManager();

    editorManager.addListener(this);
    editorManager.addListener(renamer);
  }

  /**
   * When this method is invoked by the {@link RenamerRuleEditorManager}, this
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ActuatorModel.addListener()

                List<IActuator> actuators = config1d.getDimensionX().getActuatorsList();
                view.clearActuators();
                for (int i = 0; i < actuators.size(); i++) {
                    IActuator a = (IActuator) actuators.get(i);
                    ActuatorModel eActuator = (ActuatorModel) a;
                    eActuator.addListener(actuatorListener);
                    view.addActuator(a.getName(), a.getName());
                    if (i == postScanBehaviour.getActuator()) {
                        view.setActuatorSelected(i);
                    }
                }
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.Config1DModel.addListener()

            enableListening(config.getScanAddOn(), true);

            switch (config.getType()) {
                case SCAN_1D:
                    Config1DModel configModel = (Config1DModel) config;
                    configModel.addListener(listenerConfig1D);
                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
                    Dimension1DModel dimension1DModel = (Dimension1DModel) configModel
                            .getDimensionX();
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.Config2DModel.addListener()

                    }
                    break;

                case SCAN_2D:
                    Config2DModel config2DModel = (Config2DModel) config;
                    config2DModel.addListener(listenerConfig2D);

                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ConfigEnergyModel.addListener()

                    }
                    break;

                case SCAN_ENERGY:
                    ConfigEnergyModel configEnergyModel = (ConfigEnergyModel) config;
                    configEnergyModel.addListener(listenerConfigEnergy);
                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
                    DimensionEnergyModel dimensionEnergyModel = (DimensionEnergyModel) configEnergyModel
                            .getDimensionX();
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ConfigHCSModel.addListener()

                    break;

                case SCAN_HCS:
                    ConfigHCSModel configHCSModel = (ConfigHCSModel) config;
                    configHCSModel.addListener(listenerConfigHCS);
                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
                    DimensionHCSModel dimensionHCSModel = (DimensionHCSModel) configHCSModel
                            .getDimensionX();
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.ConfigKModel.addListener()

                    }
                    break;

                case SCAN_K:
                    ConfigKModel configKModel = (ConfigKModel) config;
                    configKModel.addListener(listenerConfigK);
                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
                    DimensionKModel dimensionKModel = (DimensionKModel) configKModel
                            .getDimensionX();
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.Dimension1DModel.addListener()

                    for (ISensor sensor : config.getSensorsList()) {
                        ((SensorModel) sensor).addListener(listenerSensor);
                    }
                    Dimension1DModel dimension1DModel = (Dimension1DModel) configModel
                            .getDimensionX();
                    dimension1DModel.addListener(listenerDimension1D);
                    for (IActuator actuator : dimension1DModel.getActuatorsList()) {
                        ((ActuatorModel) actuator).addListener(listenerActuator);
                    }
                    for (IRange1D range1D : dimension1DModel.getRangesXList()) {
                        ((Range1DModel) range1D).addListener(listenerRange1D);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.Dimension2DXModel.addListener()

                        ((SensorModel) sensor).addListener(listenerSensor);
                    }

                    Dimension2DXModel dimension2DXModel = (Dimension2DXModel) config2DModel
                            .getDimensionX();
                    dimension2DXModel.addListener(listenerDimension2DX);

                    Dimension2DYModel dimension2DYModel = (Dimension2DYModel) config2DModel
                            .getDimensionY();
                    dimension2DYModel.addListener(listenerDimension2DY);
View Full Code Here

Examples of fr.soleil.salsa.client.entity.event.Dimension2DYModel.addListener()

                            .getDimensionX();
                    dimension2DXModel.addListener(listenerDimension2DX);

                    Dimension2DYModel dimension2DYModel = (Dimension2DYModel) config2DModel
                            .getDimensionY();
                    dimension2DYModel.addListener(listenerDimension2DY);

                    for (IActuator actuator : dimension2DXModel.getActuatorsList()) {
                        ((ActuatorModel) actuator).addListener(listenerActuator);
                    }
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.