Class DefaultComparisonScope

All Implemented Interfaces:
Adapter, Adapter.Internal, IComparisonScope, IComparisonScope2, IDiagnosable

public class DefaultComparisonScope extends FilterComparisonScope
This is the default implementation of an IComparisonScope. When matching EObjects through their identifier, we simply retrieve all content under a Resource, filter out the EGenericTypes since they are handled through special means by EMF (mutually derived references such as eSuperTypes<->eGenericSuperTypes, eType<->eGenericType...) and iterate over this list as a whole.
  • Constructor Details

    • DefaultComparisonScope

      public DefaultComparisonScope(Notifier left, Notifier right, Notifier origin)
      Simply delegates to the super constructor.
      Parameters:
      left - Left root of this comparison.
      right - Right root of this comparison.
      origin - Common ancestor of left and right.