Class EglContext
java.lang.Object
org.eclipse.epsilon.eol.execute.context.EolContext
org.eclipse.epsilon.egl.execute.context.EglContext
- All Implemented Interfaces:
IEglContext
,IEolContext
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.context.EolContext
assertionsEnabled, asyncStatementsQueue, classpathNativeTypeDelegate, errorStream, executorFactory, extendedProperties, frameStack, introspectionManager, methodContributorRegistry, modelRepository, module, nativeTypeDelegates, operationFactory, outputStream, prettyPrinterManager, profilingEnabled, userInput, warningStream
-
Constructor Summary
ConstructorDescriptionEglContext
(EglTemplateFactory templateFactory) EglContext
(IEglContext other) Copy constructor, intended for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatusMessage
(StatusMessage message) void
enter
(EglTemplate template) void
exit()
getTrace()
void
setContentTypeRepository
(ContentTypeRepository repository) void
setDelegate
(IEolContext delegate) Copies state references (excluding variables) from the context.void
void
setPartitioner
(CompositePartitioner partitioner) Methods inherited from class org.eclipse.epsilon.eol.execute.context.EolContext
dispose, getAsyncStatementsQueue, getErrorStream, getExecutorFactory, getExtendedProperties, getFrameStack, getIntrospectionManager, getModelRepository, getNativeTypeDelegates, getOperationContributorRegistry, getOutputStream, getPrettyPrinterManager, getUserInput, getWarningStream, isAssertionsEnabled, isProfilingEnabled, setAssertionsEnabled, setErrorStream, setExecutorFactory, setExtendedProperties, setFrameStack, setIntrospectionManager, setModelRepository, setModule, setNativeTypeDelegates, setOperationFactory, setOutputStream, setPrettyPrinterManager, setProfilingEnabled, setUserInput, setWarningStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.epsilon.egl.execute.context.IEglContext
formatWith, getPartitioningProblems, newOutputBuffer, usePartitionerFor
Methods inherited from interface org.eclipse.epsilon.eol.execute.context.IEolContext
dispose, getAsyncStatementsQueue, getErrorStream, getExecutorFactory, getExtendedProperties, getFrameStack, getIntrospectionManager, getModelRepository, getNativeTypeDelegates, getOperationContributorRegistry, getOutputStream, getPrettyPrinterManager, getUserInput, getWarningStream, isAssertionsEnabled, isProfilingEnabled, setAssertionsEnabled, setErrorStream, setExecutorFactory, setExtendedProperties, setFrameStack, setIntrospectionManager, setModelRepository, setModule, setNativeTypeDelegates, setOperationFactory, setOutputStream, setPrettyPrinterManager, setProfilingEnabled, setUserInput, setWarningStream
-
Constructor Details
-
EglContext
public EglContext() -
EglContext
-
EglContext
Copy constructor, intended for internal use only.- Parameters:
other
- The base context.- Since:
- 1.6
-
-
Method Details
-
setOperationContributorRegistry
-
setDelegate
Description copied from interface:IEglContext
Copies state references (excluding variables) from the context. The copying may be performed lazily and is shallow. This is mainly useful if EGL is being invoked from EGX, which has a different context.- Specified by:
setDelegate
in interfaceIEglContext
- Parameters:
delegate
- The parent context.
-
getDelegate
- Specified by:
getDelegate
in interfaceIEglContext
- Returns:
-
getTemplateFactory
- Specified by:
getTemplateFactory
in interfaceIEglContext
-
getPartitioner
- Specified by:
getPartitioner
in interfaceIEglContext
-
setPartitioner
- Specified by:
setPartitioner
in interfaceIEglContext
-
getContentTypeRepository
- Specified by:
getContentTypeRepository
in interfaceIEglContext
-
setContentTypeRepository
- Specified by:
setContentTypeRepository
in interfaceIEglContext
-
addStatusMessage
- Specified by:
addStatusMessage
in interfaceIEglContext
-
getStatusMessages
- Specified by:
getStatusMessages
in interfaceIEglContext
-
enter
- Specified by:
enter
in interfaceIEglContext
-
exit
public void exit()- Specified by:
exit
in interfaceIEglContext
-
getOutputBuffer
- Specified by:
getOutputBuffer
in interfaceIEglContext
-
getTrace
- Specified by:
getTrace
in interfaceIEglContext
-
getCurrentTemplate
- Specified by:
getCurrentTemplate
in interfaceIEglContext
-
getModule
- Specified by:
getModule
in interfaceIEglContext
- Specified by:
getModule
in interfaceIEolContext
- Overrides:
getModule
in classEolContext
-
getOperationFactory
- Specified by:
getOperationFactory
in interfaceIEolContext
- Overrides:
getOperationFactory
in classEolContext
-