org.eclipse.xtext.common.types.access.jdt
Class JdtTypeMirror

java.lang.Object
  extended by org.eclipse.xtext.common.types.access.impl.AbstractClassMirror
      extended by org.eclipse.xtext.common.types.access.jdt.JdtTypeMirror
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, IMirror, IClassMirror, IFragmentProvider

public class JdtTypeMirror
extends AbstractClassMirror
implements org.eclipse.emf.common.notify.Adapter

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
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IFragmentProvider
IFragmentProvider.Fallback
 
Constructor Summary
JdtTypeMirror(org.eclipse.jdt.core.IType type, ITypeFactory<org.eclipse.jdt.core.IType> typeFactory)
           
 
Method Summary
 org.eclipse.jdt.core.IType getMirroredType()
           
 org.eclipse.emf.common.notify.Notifier getTarget()
           
protected  java.lang.String getTypeName()
           
 void initialize(TypeResource typeResource)
           
 boolean isAdapterForType(java.lang.Object object)
           
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
           
 void setTarget(org.eclipse.emf.common.notify.Notifier notifier)
           
protected  void unloadResource()
           
 
Methods inherited from class org.eclipse.xtext.common.types.access.impl.AbstractClassMirror
getArrayEObject, getEObject, getFragment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdtTypeMirror

public JdtTypeMirror(org.eclipse.jdt.core.IType type,
                     ITypeFactory<org.eclipse.jdt.core.IType> typeFactory)
Method Detail

initialize

public void initialize(TypeResource typeResource)
Specified by:
initialize in interface IMirror

getTypeName

protected java.lang.String getTypeName()
Specified by:
getTypeName in class AbstractClassMirror

getMirroredType

public org.eclipse.jdt.core.IType getMirroredType()

unloadResource

protected void unloadResource()

getTarget

public org.eclipse.emf.common.notify.Notifier getTarget()
Specified by:
getTarget in interface org.eclipse.emf.common.notify.Adapter

isAdapterForType

public boolean isAdapterForType(java.lang.Object object)
Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter

notifyChanged

public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter

setTarget

public void setTarget(org.eclipse.emf.common.notify.Notifier notifier)
Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter