Class MdAdoptedPropertyNotifier

java.lang.Object
com._1c.g5.v8.dt.internal.md.extension.MdAdoptedPropertyNotifier
All Implemented Interfaces:
IBmAsyncEventListener, IMdAdoptedPropertyNotifier

public class MdAdoptedPropertyNotifier extends Object implements IMdAdoptedPropertyNotifier, IBmAsyncEventListener
Implementation of IMdAdoptedPropertyNotifier.
  • Constructor Details

  • Method Details

    • addAdoptedPropertyListener

      public void addAdoptedPropertyListener(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IMdAdoptedPropertyListener listener)
      Description copied from interface: IMdAdoptedPropertyNotifier
      Registers the metadata adopted property state and value listener. The listener will be notified about the provided model object property state changes.

      Causes no effect if given listener is already registered.

      Specified by:
      addAdoptedPropertyListener in interface IMdAdoptedPropertyNotifier
      Parameters:
      object - the model object to listen property state changes of, cannot be null
      feature - the property to listen state changes of, cannot be null
      listener - the metadata adopted property listener, cannot be null
    • removeAdoptedPropertyListener

      public void removeAdoptedPropertyListener(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IMdAdoptedPropertyListener listener)
      Description copied from interface: IMdAdoptedPropertyNotifier
      Unregisters the metadata adopted property state and value listener. The listener will no longer be notified about the provided model object property state changes.
      Specified by:
      removeAdoptedPropertyListener in interface IMdAdoptedPropertyNotifier
      Parameters:
      object - the model object to stop property state changes listening for, cannot be null
      feature - the property to stop property state changes listening for, cannot be null
      listener - the metadata adopted property listener, cannot be null
    • handleAsyncEvent

      public void handleAsyncEvent(BmEvent event)
      Description copied from interface: IBmAsyncEventListener
      Invoked to notify about a BM event.
      Specified by:
      handleAsyncEvent in interface IBmAsyncEventListener
      Parameters:
      event - the BM event. Never null.