org.eclipse.gmt.umlx.eqvtc.cst.environment
Class QVTcFileEnvironment

java.lang.Object
  extended by org.eclipse.ocl.AbstractEnvironment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,org.eclipse.ocl.ecore.CallOperationAction,org.eclipse.ocl.ecore.SendSignalAction,org.eclipse.ocl.ecore.Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>
      extended by org.eclipse.ocl.ecore.EcoreEnvironment
          extended by org.eclipse.gmt.umlx.cst.environment.CSTEnvironment
              extended by org.eclipse.gmt.umlx.eqvt.cst.environment.QVTEnvironment
                  extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcEnvironment
                      extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcTopLevelEnvironment
                          extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcFileEnvironment
All Implemented Interfaces:
org.eclipse.gmt.umlx.cst.environment.IFileEnvironment, org.eclipse.ocl.Environment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,org.eclipse.ocl.ecore.CallOperationAction,org.eclipse.ocl.ecore.SendSignalAction,org.eclipse.ocl.ecore.Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>

public class QVTcFileEnvironment
extends QVTcTopLevelEnvironment
implements org.eclipse.gmt.umlx.cst.environment.IFileEnvironment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.Environment
org.eclipse.ocl.Environment.Registry
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.Environment
OCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME
 
Constructor Summary
QVTcFileEnvironment(org.eclipse.gmt.umlx.registry.environment.AbstractFileHandle file, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
           
 
Method Summary
 java.util.Collection<? extends org.eclipse.emf.ecore.EObject> parseToAST(java.io.Reader reader, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcTopLevelEnvironment
createASTResource, createEnvironment, getEnvironment, getEnvironment, getEPackages, getErrorHandler, getMetaModel, getResourceSet, getTransformation, lookupImportedClass, lookupImportedClassifier, lookupImportedTransformation, lookupOperation, resolvePackages, saveCST, semanticError, setErrorHandler
 
Methods inherited from class org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcEnvironment
getParent, getTransformation, toString
 
Methods inherited from class org.eclipse.gmt.umlx.eqvt.cst.environment.QVTEnvironment
checkFeatureCompatibility, getMapping, getMetaModelClassifier, getMetaModelClassifiers, getMetaModelContents, getMetaModelContents, getTypeResolver, getVariable, isAssignableTo, lookupClassifier, lookupImplicitSourceForOperation
 
Methods inherited from class org.eclipse.gmt.umlx.cst.environment.CSTEnvironment
formatName, formatPath, formatString, formatType, getCSTNode, getUMLReflection
 
Methods inherited from class org.eclipse.ocl.ecore.EcoreEnvironment
defineAttribute, defineOperation, findPackage, findPackage, getDefinition, getFactory, getOCLFactory, getOCLStandardLibrary, getStates, isInPostcondition, lookupPackage, setParent, undefine
 
Methods inherited from class org.eclipse.ocl.AbstractEnvironment
addElement, deleteElement, getAdditionalAttributes, getAdditionalOperations, getBodyCondition, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDeriveConstraint, getInitConstraint, getSelfVariable, getVariables, isEmpty, lookup, lookupAssociationClassReference, lookupImplicitSourceForAssociationClass, lookupImplicitSourceForProperty, lookupImplicitSourceForSignal, lookupImplicitSourceForState, lookupLocal, lookupProperty, lookupSignal, lookupState, setBodyCondition, setDeriveConstraint, setInitConstraint, setSelfVariable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.cst.environment.IFileEnvironment
createASTResource, setErrorHandler
 

Constructor Detail

QVTcFileEnvironment

public QVTcFileEnvironment(org.eclipse.gmt.umlx.registry.environment.AbstractFileHandle file,
                           org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Method Detail

parseToAST

public java.util.Collection<? extends org.eclipse.emf.ecore.EObject> parseToAST(java.io.Reader reader,
                                                                                org.eclipse.core.runtime.IProgressMonitor monitor)
                                                                         throws java.io.IOException,
                                                                                org.eclipse.core.runtime.CoreException
Specified by:
parseToAST in interface org.eclipse.gmt.umlx.cst.environment.IFileEnvironment
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException