org.eclipse.gmt.umlx.editor.refresh
Class OutlineRefresher<R extends INotifierElement>
java.lang.Object
org.eclipse.gmt.umlx.ecore.AbstractAdapter
org.eclipse.gmt.umlx.ecore.ModelChangeAdapter
org.eclipse.gmt.umlx.editor.refresh.OutlineRefresher<R>
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter
- Direct Known Subclasses:
- NodeViewRefresher
public class OutlineRefresher<R extends INotifierElement>
- extends ModelChangeAdapter
OutlineRefresher provides common delayed refresh functionality for
AbstractLinkView, AbstractNodeView and NotifierOutline.
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OutlineRefresher
public OutlineRefresher(R refreshee,
org.eclipse.gef.EditPartViewer viewer,
ActiveEditDomain domain)
execute
public void execute(java.lang.Runnable runnable)
getDomain
public ActiveEditDomain getDomain()
getIcon
public org.eclipse.swt.graphics.Image getIcon(java.lang.Enum<?> txIcon)
getViewer
public org.eclipse.gef.EditPartViewer getViewer()
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
- Overrides:
notifyChanged
in class AbstractAdapter
refreshChildren
public void refreshChildren()
refreshMarkers
public void refreshMarkers()
refreshMappings
public void refreshMappings()
refreshNotifiers
public void refreshNotifiers()
refreshVisuals
public void refreshVisuals()
registerModel
public void registerModel(java.lang.Object model)
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractAdapter
unregisterModel
public void unregisterModel(java.lang.Object model)