org.eclipse.xtext.resource
Class DerivedStateAwareResourceDescriptionManager

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager
      extended by org.eclipse.xtext.resource.DerivedStateAwareResourceDescriptionManager
All Implemented Interfaces:
IResourceDescription.Manager

public class DerivedStateAwareResourceDescriptionManager
extends DefaultResourceDescriptionManager

Installs the derived state in non-linking mode and discards it right after EObjectDescription creation.

Since:
2.1
Author:
Sven Efftinge - Initial contribution and API

Constructor Summary
DerivedStateAwareResourceDescriptionManager()
           
 
Method Summary
protected  IResourceDescription createResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, IDefaultResourceDescriptionStrategy strategy)
           
protected  IResourceDescription internalGetResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, IDefaultResourceDescriptionStrategy strategy)
           
 
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager
addExportedNames, createDelta, getCache, getContainerManager, getDescriptionUtils, getImportedNames, getResourceDescription, isAffected, isAffected, isAffected, setCache, setContainerManager, setDescriptionUtils, setStrategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerivedStateAwareResourceDescriptionManager

public DerivedStateAwareResourceDescriptionManager()
Method Detail

internalGetResourceDescription

protected IResourceDescription internalGetResourceDescription(org.eclipse.emf.ecore.resource.Resource resource,
                                                              IDefaultResourceDescriptionStrategy strategy)
Overrides:
internalGetResourceDescription in class DefaultResourceDescriptionManager

createResourceDescription

protected IResourceDescription createResourceDescription(org.eclipse.emf.ecore.resource.Resource resource,
                                                         IDefaultResourceDescriptionStrategy strategy)