/**
  * Associates an adapter with a notifier via the base implementation, then records it to ensure it
  * will be disposed.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 protected void associate(Adapter adapter, Notifier target) {
   super.associate(adapter, target);
   if (adapter != null) {
     disposable.add(adapter);
   }
 }
Ejemplo n.º 2
0
 public void dispose() {
   disposable.dispose();
 }
Ejemplo n.º 3
0
 @Override
 public Adapter adaptNew(Notifier object, Object type) {
   Adapter result = super.adaptNew(object, type);
   disposable.add(result);
   return result;
 }
 /**
  * This disposes all of the item providers created by this factory.
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void dispose() {
   disposable.dispose();
 }