Interface IMdAdoptedPropertyNotifier


  • public interface IMdAdoptedPropertyNotifier
    Metadata adopted property notifier allows clients to be notified about adopted metadata objects properties state changes.
    See Also:
    IMdAdoptedPropertyListener
    Restriction:
    This interface is not intended to be extended by clients.
    Restriction:
    This interface is not intended to be implemented by clients.
    • Method Detail

      • addAdoptedPropertyListener

        void addAdoptedPropertyListener​(org.eclipse.emf.ecore.EObject object,
                                        org.eclipse.emf.ecore.EStructuralFeature feature,
                                        IMdAdoptedPropertyListener listener)
        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.

        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

        void removeAdoptedPropertyListener​(org.eclipse.emf.ecore.EObject object,
                                           org.eclipse.emf.ecore.EStructuralFeature feature,
                                           IMdAdoptedPropertyListener listener)
        Unregisters the metadata adopted property state and value listener. The listener will no longer be notified about the provided model object property state changes.
        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