Class SourceAdapter

java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.xtext.xtext.ecoreInference.SourceAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

public class SourceAdapter extends org.eclipse.emf.common.notify.impl.AdapterImpl
Author:
Sebastian Zarnekow - Initial contribution and API TODO double check the usage of isAdapterForType(Object)
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter

    org.eclipse.emf.common.notify.Adapter.Internal
  • Field Summary

    Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl

    target
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    adapt(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject source)
     
    find(org.eclipse.emf.ecore.EObject object)
     
    Collection<org.eclipse.emf.ecore.EObject>
     
    boolean
     

    Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl

    getTarget, notifyChanged, setTarget, unsetTarget

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SourceAdapter

      protected SourceAdapter()
  • Method Details

    • adapt

      public static SourceAdapter adapt(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject source)
    • find

      public static SourceAdapter find(org.eclipse.emf.ecore.EObject object)
    • isAdapterForType

      public boolean isAdapterForType(Object type)
      Specified by:
      isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
      Overrides:
      isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl
    • getSources

      public Collection<org.eclipse.emf.ecore.EObject> getSources()