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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdoptedPropertyListener
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IMdAdoptedPropertyListener listener) Registers the metadata adopted property state and value listener.void
handleAsyncEvent
(BmEvent event) Invoked to notify about a BM event.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.
-
Constructor Details
-
MdAdoptedPropertyNotifier
public MdAdoptedPropertyNotifier()Creates an instance ofMdAdoptedPropertyNotifier
.
-
-
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 interfaceIMdAdoptedPropertyNotifier
- Parameters:
object
- the model object to listen property state changes of, cannot benull
feature
- the property to listen state changes of, cannot benull
listener
- the metadata adopted property listener, cannot benull
-
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 interfaceIMdAdoptedPropertyNotifier
- Parameters:
object
- the model object to stop property state changes listening for, cannot benull
feature
- the property to stop property state changes listening for, cannot benull
listener
- the metadata adopted property listener, cannot benull
-
handleAsyncEvent
Description copied from interface:IBmAsyncEventListener
Invoked to notify about a BM event.- Specified by:
handleAsyncEvent
in interfaceIBmAsyncEventListener
- Parameters:
event
- the BM event. Nevernull
.
-