org.eclipse.xtext.xtext.ecoreInference
Class SourceAdapter

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by 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

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
protected SourceAdapter()
           
 
Method Summary
static SourceAdapter adapt(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EObject source)
           
static SourceAdapter find(org.eclipse.emf.ecore.EObject object)
           
 java.util.Collection<org.eclipse.emf.ecore.EObject> getSources()
           
 boolean isAdapterForType(java.lang.Object type)
           
 
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 Detail

SourceAdapter

protected SourceAdapter()
Method Detail

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(java.lang.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 java.util.Collection<org.eclipse.emf.ecore.EObject> getSources()