org.eclipse.ocl.examples.impactanalyzer
Interface DerivedPropertyNotifier

All Known Implementing Classes:
DerivedPropertyNotifierImpl

public interface DerivedPropertyNotifier

Used to observe and filter for model changes that affect derived properties defined by OCL expression. Construct an instance for a single EStructuralFeature or all properties of an EPackage and subscribe for change notifications at an EventManager. When changes affecting a derived property's value are received, the actual changes are determined, and new Notifications are created for those objects on which the derived property's value did change.

Author:
Axel Uhl

Method Summary
 void subscribe(EventManager eventManager)
          Activates the services of this notifier for the scope observed by the eventManager.
 void unsubscribe(EventManager eventManager)
          Deactivates this notifier by unregistering all its internal adapters from the eventManager again.
 

Method Detail

subscribe

void subscribe(EventManager eventManager)
Activates the services of this notifier for the scope observed by the eventManager. If the event manager is set inactive, no notifications are created by this notifier until the event manager is activated again.


unsubscribe

void unsubscribe(EventManager eventManager)
Deactivates this notifier by unregistering all its internal adapters from the eventManager again.