public class PivotEnvironmentFactory extends AbstractEnvironmentFactory
EnvironmentFactoryInternal
for parsing OCL expressions
on Ecore models.externalResourceSet, externalResourceSetWasNull, projectManager
Constructor and Description |
---|
PivotEnvironmentFactory(ProjectManager projectManager,
org.eclipse.emf.ecore.resource.ResourceSet externalResourceSet)
Initializes me with an optional
StandaloneProjectMap of accessible resources and
an optional ModelManager for loaded instances. |
Modifier and Type | Method and Description |
---|---|
<T> T |
getValue(Option<T> option)
Obtains the value of the specified option's setting in the my
options map.
|
void |
setProject(org.eclipse.core.resources.IProject project)
Specify an Eclipse project with respect to which project-specific preferences are resolved.
|
adapt, addExternal2AS, addExternalResources, attach, basicGetMetamodelManager, configureLoadFirstStrategy, configureLoadStrategy, createASResourceSet, createCompleteEnvironment, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createIdResolver, createImplementationManager, createMetamodelManager, createModelManager, createModelManager, createOCL, createParserContext, createValidationKey2severityMap, detach, dispose, disposeInternal, getAdapter, getClassifier, getCompleteEnvironment, getCompleteModel, getCSI2ASMapping, getDoSetupName, getIdResolver, getMetamodelManager, getParent, getProjectManager, getResourceSet, getSeverity, getStandardLibrary, getTechnology, isEvaluationTracingEnabled, loadEPackage, loadResource, resetSeverities, setCSI2ASMapping, setEvaluationTracingEnabled, setSafeNavigationValidationSeverity, setSeverity
basicGetOptions, clearOptions, getOptions, isEnabled, putOptions, removeOption, removeOptions, setOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearOptions, getOptions, isEnabled, putOptions, removeOption, removeOptions, setOption
public PivotEnvironmentFactory(@NonNull ProjectManager projectManager, @Nullable org.eclipse.emf.ecore.resource.ResourceSet externalResourceSet)
StandaloneProjectMap
of accessible resources and
an optional ModelManager
for loaded instances.@Nullable public <T> T getValue(@NonNull Option<T> option)
Customizable
getValue
in interface Customizable
getValue
in class AbstractCustomizable
option
- the option to querypublic void setProject(@Nullable org.eclipse.core.resources.IProject project)
EnvironmentFactoryInternal
setProject
in interface EnvironmentFactoryInternal
setProject
in class AbstractEnvironmentFactory