org.eclipse.gmf.runtime.lite.edit.parts.update
Class RefreshersRegistry

java.lang.Object
  extended by org.eclipse.gmf.runtime.lite.edit.parts.update.RefreshersRegistry

public class RefreshersRegistry
extends Object

Registry that allows registering and unregistering refreshers. Refreshers are classified primarily based on structural features they are registered for (because this seems to be the most typical case), but further filtering is supported.

See Also:
IUpdatableEditPart.Refresher

Constructor Summary
RefreshersRegistry()
           
 
Method Summary
 void add(org.eclipse.emf.ecore.EStructuralFeature feature, IUpdatableEditPart.Refresher refresher)
           
 IUpdatableEditPart.Refresher getRefresher(org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.common.notify.Notification msg)
           
 void remove(org.eclipse.emf.ecore.EStructuralFeature feature, IUpdatableEditPart.Refresher refresher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshersRegistry

public RefreshersRegistry()
Method Detail

add

public void add(org.eclipse.emf.ecore.EStructuralFeature feature,
                IUpdatableEditPart.Refresher refresher)

remove

public void remove(org.eclipse.emf.ecore.EStructuralFeature feature,
                   IUpdatableEditPart.Refresher refresher)

getRefresher

public IUpdatableEditPart.Refresher getRefresher(org.eclipse.emf.ecore.EStructuralFeature feature,
                                                 org.eclipse.emf.common.notify.Notification msg)


Copyright © 2012. All Rights Reserved.