org.eclipse.emf.ecp.changebroker.internal
Class ContainingEClassStrategy

java.lang.Object
  extended by org.eclipse.emf.ecp.changebroker.internal.ContainingEClassStrategy
All Implemented Interfaces:
Strategy

public class ContainingEClassStrategy
extends Object
implements Strategy

Author:
jfaltermeier

Constructor Summary
ContainingEClassStrategy()
           
 
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.
 void register(EMFObserver observer, org.eclipse.emf.ecore.EClass eClass)
          Registers an observer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainingEClassStrategy

public ContainingEClassStrategy()
Method Detail

register

public void register(EMFObserver observer,
                     org.eclipse.emf.ecore.EClass eClass)
Registers an observer.

Parameters:
observer - the observer
eClass - the containing eclass

getObservers

public Set<EMFObserver> getObservers(org.eclipse.emf.common.notify.Notification notification)
Description copied from interface: Strategy
Returns the observers which should get notified.

Specified by:
getObservers in interface Strategy
Parameters:
notification - the notification
Returns:
the observers

deregister

public void deregister(EMFObserver observer)
Deregisters and observer.

Specified by:
deregister in interface Strategy
Parameters:
observer - the observer
See Also:
Strategy.deregister(EMFObserver)

getAllObservers

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

Specified by:
getAllObservers in interface Strategy
Returns:
all observers
See Also:
Strategy.getAllObservers()


Copyright © 2015. All Rights Reserved.