Package | Description |
---|---|
org.eclipse.ocl.examples.eventmanager | |
org.eclipse.ocl.examples.eventmanager.framework |
Copyright (c) 2009, 2011 SAP AG and others.
|
org.eclipse.ocl.examples.impactanalyzer | |
org.eclipse.ocl.examples.impactanalyzer.impl |
Modifier and Type | Method and Description |
---|---|
EventManager |
EventManagerFactory.createEventManager()
Creates a new
EventManager that initially does not receive change
notifications from any resource set. |
EventManager |
EventManagerFactory.createEventManagerFor(org.eclipse.emf.ecore.resource.ResourceSet set)
Creates a new
EventManager that receives all change notifications
from all notifiers contained directly or indirectly by set . |
EventManager |
EventManagerFactory.getEventManagerFor(org.eclipse.emf.ecore.resource.ResourceSet set)
Creates a new or re-uses an existing
EventManager that was
previously created by calling this operation (and not by
EventManagerFactory.createEventManagerFor(ResourceSet) ). |
Modifier and Type | Class and Description |
---|---|
class |
EventManagerTableBased
A scalable implementation of the
EventManager interface, using hash tables to quickly dispatch
incoming Notification s to the sets of registered event listeners . |
Modifier and Type | Field and Description |
---|---|
protected EventManager |
AdapterCapsule._manager |
Modifier and Type | Method and Description |
---|---|
EventManager |
EventManagerFactoryImpl.createEventManager() |
EventManager |
EventManagerFactoryImpl.createEventManagerFor(org.eclipse.emf.ecore.resource.ResourceSet set) |
EventManager |
EventManagerFactoryImpl.getEventManagerFor(org.eclipse.emf.ecore.resource.ResourceSet set) |
Constructor and Description |
---|
AdapterCapsule(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> listener,
ListenerTypeEnum listenerType,
EventManager manager) |
DeferringNotifier(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> _listenerRef,
ListenerTypeEnum _listenerType,
EventManager _manager) |
EventAdapter(EventManager eventManager)
Constructs a new Adapter with the given
EventManager as instance to notify
NOTE: the EventManager is held as WeakReference |
Modifier and Type | Method and Description |
---|---|
void |
DerivedPropertyNotifier.subscribe(EventManager eventManager)
Activates the services of this notifier for the scope observed by the
eventManager . |
void |
DerivedPropertyNotifier.unsubscribe(EventManager eventManager)
Deactivates this notifier by unregistering all its internal adapters from the
eventManager again. |
Modifier and Type | Method and Description |
---|---|
void |
DerivedPropertyNotifierImpl.subscribe(EventManager eventManager) |
void |
DerivedPropertyNotifierImpl.unsubscribe(EventManager eventManager) |