Class EClassStrategy
- java.lang.Object
-
- org.eclipse.emf.ecp.changebroker.internal.EClassStrategy
-
-
Constructor Summary
Constructors Constructor Description EClassStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deregister(ChangeObserver observer)
Deregisters and observer.java.util.Set<ChangeObserver>
getAllObservers()
Returns all observers managed by this strategy.java.util.Set<ChangeObserver>
getObservers(org.eclipse.emf.common.notify.Notification notification)
Returns theobservers
which should get notified.void
register(ChangeObserver observer, org.eclipse.emf.ecore.EClass eClass)
Registers an observer.
-
-
-
Method Detail
-
register
public void register(ChangeObserver observer, org.eclipse.emf.ecore.EClass eClass)
Registers an observer.- Parameters:
observer
- the observereClass
- the eclass
-
getObservers
public java.util.Set<ChangeObserver> getObservers(org.eclipse.emf.common.notify.Notification notification)
Returns theobservers
which should get notified.- Specified by:
getObservers
in interfaceStrategy
- Parameters:
notification
- the notification- Returns:
- the observers
- See Also:
Strategy.getObservers(org.eclipse.emf.common.notify.Notification)
-
deregister
public void deregister(ChangeObserver observer)
Deregisters and observer.- Specified by:
deregister
in interfaceStrategy
- Parameters:
observer
- the observer- See Also:
Strategy.deregister(ChangeObserver)
-
getAllObservers
public java.util.Set<ChangeObserver> getAllObservers()
Returns all observers managed by this strategy.- Specified by:
getAllObservers
in interfaceStrategy
- Returns:
- all observers
- See Also:
Strategy.getAllObservers()
-
-