Exemplo n.º 1
0
 /**
  * Extend to stop listening to the models if appropriate.
  *
  * @see
  *     org.eclipse.persistence.tools.workbench.utility.Model#removeCollectionChangeListener(String,
  *     CollectionChangeListener)
  */
 public synchronized void removeCollectionChangeListener(
     String collectionName, CollectionChangeListener listener) {
   super.removeCollectionChangeListener(collectionName, listener);
   if (collectionName == VALUE && this.hasNoListeners()) {
     this.disengageModels();
   }
 }
Exemplo n.º 2
0
 /**
  * Extend to stop listening to the models if appropriate.
  *
  * @see
  *     org.eclipse.persistence.tools.workbench.utility.Model#removeCollectionChangeListener(CollectionChangeListener)
  */
 public synchronized void removeCollectionChangeListener(CollectionChangeListener listener) {
   super.removeCollectionChangeListener(listener);
   if (this.hasNoListeners()) {
     this.disengageModels();
   }
 }