Interface Strategy
-
- All Known Implementing Classes:
ContainingEClassStrategy
,EClassStrategy
,FeatureStrategy
,NoStrategy
public interface Strategy
A Strategy is a registry/ruleset which allows to identify if a notification is relevant for anChangeObserver
.- Author:
- jfaltermeier
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getObservers
java.util.Set<ChangeObserver> getObservers(org.eclipse.emf.common.notify.Notification notification)
Returns theobservers
which should get notified.- Parameters:
notification
- the notification- Returns:
- the observers
-
getAllObservers
java.util.Set<ChangeObserver> getAllObservers()
Returns all observers managed by this strategy.- Returns:
- all observers
-
deregister
void deregister(ChangeObserver observer)
Deregisters and observer.- Parameters:
observer
- the observer
-
-