org.eclipse.gmf.runtime.lite.edit.parts.update.canonical
Class OwnedLinksNotationModelRefresher
java.lang.Object
org.eclipse.emf.transaction.ResourceSetListenerImpl
org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.AbstractNotationModelRefresher
org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.OwnedLinksNotationModelRefresher
- All Implemented Interfaces:
- EventListener, org.eclipse.emf.transaction.ResourceSetListener, org.eclipse.emf.transaction.ResourceSetListener.Internal, INotationModelRefresher
public abstract class OwnedLinksNotationModelRefresher
- extends AbstractNotationModelRefresher
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.ResourceSetListener |
org.eclipse.emf.transaction.ResourceSetListener.Internal |
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 |
OwnedLinksNotationModelRefresher
public OwnedLinksNotationModelRefresher(IViewService viewService)
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
getSemanticChildLinks
protected abstract List getSemanticChildLinks()
getNotationalChildLinks
protected abstract List getNotationalChildLinks()
isValidLinkSource
protected boolean isValidLinkSource(org.eclipse.gmf.runtime.notation.View sourceCandidate,
LinkDescriptor linkDescriptor)
- Returns whether the given view can be source of the given link.
isValidLinkTarget
protected boolean isValidLinkTarget(org.eclipse.gmf.runtime.notation.View targetCandidate,
LinkDescriptor linkDescriptor)
- Returns whether the given view can be source of the given link.
Copyright © 2012. All Rights Reserved.