Ejemplo n.º 1
0
  /** {@inheritDoc} */
  public void bindingChanged(BindingProvider provider, String itemName) {
    super.bindingChanged(provider, itemName);

    if (bindingsExist()) {
      activeService.activate();
    } else {
      activeService.deactivate();
    }
  }
Ejemplo n.º 2
0
  /** {@inheritDoc} */
  public void allBindingsChanged(BindingProvider provider) {
    super.allBindingsChanged(provider);

    if (bindingsExist()) {
      activeService.activate();
    } else {
      activeService.deactivate();
    }
  }
Ejemplo n.º 3
0
 /**
  * Adds <code>provider</code> to the list of {@link BindingProvider}s and adds <code>this</code>
  * as {@link BindingChangeListener}. If <code>provider</code> contains any binding an the
  * refresh-Thread is stopped it will be started.
  *
  * @param provider the new {@link BindingProvider} to add
  */
 public void addBindingProvider(P provider) {
   super.addBindingProvider(provider);
   activeService.activate();
 }