org.eclipse.gmf.runtime.lite.edit.parts.update.canonical
Class ChildNotationModelRefresher

java.lang.Object
  extended by org.eclipse.emf.transaction.ResourceSetListenerImpl
      extended by org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.AbstractNotationModelRefresher
          extended by org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.ChildNotationModelRefresher
All Implemented Interfaces:
EventListener, org.eclipse.emf.transaction.ResourceSetListener, org.eclipse.emf.transaction.ResourceSetListener.Internal, INotationModelRefresher

public abstract class ChildNotationModelRefresher
extends AbstractNotationModelRefresher

A notation model refresher that is specifically suited to update children of the element.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.ResourceSetListener
org.eclipse.emf.transaction.ResourceSetListener.Internal
 
Constructor Summary
ChildNotationModelRefresher()
           
 
Method Summary
 org.eclipse.emf.common.command.Command buildRefreshNotationModelCommand()
          Creates and returns the command that will update the notational model to reflect changes in the domain model.
protected  org.eclipse.emf.common.command.Command getRefreshExternalElementCommand(org.eclipse.gmf.runtime.notation.View externalView)
           
protected abstract  List<ElementDescriptor> getSemanticChildNodes()
           
protected  boolean shouldRemoveView(org.eclipse.gmf.runtime.notation.View view)
           
 
Methods inherited from class org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.AbstractNotationModelRefresher
createFilter, getCreateNotationalElementCommand, getFilter, getHost, getView, getVisualID, install, isInstalled, isPrecommitOnly, shouldCreateView, shouldHandleNotification, transactionAboutToCommit, uninstall
 
Methods inherited from class org.eclipse.emf.transaction.ResourceSetListenerImpl
getTarget, isAggregatePrecommitListener, isPostcommitOnly, resourceSetChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.transaction.ResourceSetListener
isAggregatePrecommitListener, isPostcommitOnly, resourceSetChanged
 

Constructor Detail

ChildNotationModelRefresher

public ChildNotationModelRefresher()
Method Detail

buildRefreshNotationModelCommand

public org.eclipse.emf.common.command.Command buildRefreshNotationModelCommand()
Description copied from class: AbstractNotationModelRefresher
Creates and returns the command that will update the notational model to reflect changes in the domain model.

Specified by:
buildRefreshNotationModelCommand in interface INotationModelRefresher
Specified by:
buildRefreshNotationModelCommand in class AbstractNotationModelRefresher

getRefreshExternalElementCommand

protected org.eclipse.emf.common.command.Command getRefreshExternalElementCommand(org.eclipse.gmf.runtime.notation.View externalView)

getSemanticChildNodes

protected abstract List<ElementDescriptor> getSemanticChildNodes()

shouldRemoveView

protected boolean shouldRemoveView(org.eclipse.gmf.runtime.notation.View view)


Copyright © 2012. All Rights Reserved.