org.eclipse.emf.ecp.changebroker.internal
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 an EMFObserver.

Author:
jfaltermeier

Method Summary
 void deregister(EMFObserver observer)
          Deregisters and observer.
 Set<EMFObserver> getAllObservers()
          Returns all observers managed by this strategy.
 Set<EMFObserver> getObservers(org.eclipse.emf.common.notify.Notification notification)
          Returns the observers which should get notified.
 

Method Detail

getObservers

Set<EMFObserver> getObservers(org.eclipse.emf.common.notify.Notification notification)
Returns the observers which should get notified.

Parameters:
notification - the notification
Returns:
the observers

getAllObservers

Set<EMFObserver> getAllObservers()
Returns all observers managed by this strategy.

Returns:
all observers

deregister

void deregister(EMFObserver observer)
Deregisters and observer.

Parameters:
observer - the observer


Copyright © 2015. All Rights Reserved.