org.eclipse.gmf.runtime.lite.edit.parts.update.canonical
Class DelegatingViewService
java.lang.Object
org.eclipse.gmf.runtime.lite.edit.parts.update.canonical.DelegatingViewService
- All Implemented Interfaces:
- IViewService
- Direct Known Subclasses:
- EditPartRegistryBasedViewService, NaiveViewService
public abstract class DelegatingViewService
- extends Object
- implements IViewService
This implementation of IViewService
delegates to another view service to locate an exact match. If no exact match is found,
the same procedure is attempted for ancestors recursively until the match is found. Then, the element chain is traversed in the opposite direction
trying to find a match in the context of the parent element's match.
Method Summary |
org.eclipse.gmf.runtime.notation.View |
findView(org.eclipse.emf.ecore.EObject modelElement)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DelegatingViewService
public DelegatingViewService(DelegatingViewService.IExactMatchFinder exactMatchFinder)
findView
public org.eclipse.gmf.runtime.notation.View findView(org.eclipse.emf.ecore.EObject modelElement)
- Specified by:
findView
in interface IViewService
Copyright © 2012. All Rights Reserved.