public class PivotEnvironmentFactory extends AbstractEnvironmentFactory
EnvironmentFactoryInternal
for parsing OCL expressions
on Ecore models.EnvironmentFactoryInternal.EnvironmentFactoryInternalExtension
EnvironmentFactory.EnvironmentFactoryExtension, EnvironmentFactory.EnvironmentFactoryExtension2
ENVIRONMENT_FACTORY_ATTACH
Constructor and Description |
---|
PivotEnvironmentFactory(ProjectManager projectManager,
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(IProject project)
Specify an Eclipse project with respect to which project-specific preferences are resolved.
|
adapt, addExternal2AS, addExternalResources, attach, configureLoadFirstStrategy, configureLoadStrategy, createASResourceSet, createCompleteEnvironment, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createExecutor, createIdResolver, createImplementationManager, createMetamodelManager, createModelManager, createOCL, createParserContext, createTemplateParameterSubstitutionVisitor, detach, dispose, getAdapter, getASClass, getASOf, getCompleteEnvironment, getCompleteModel, getCSI2ASMapping, getDoSetupName, getIdResolver, getMetamodelManager, getProjectManager, getResourceSet, getSeverity, getStandardLibrary, getTechnology, isDisposed, isEvaluationTracingEnabled, loadEPackage, loadResource, parseSpecification, resetSeverities, setCSI2ASMapping, setEvaluationTracingEnabled, setSafeNavigationValidationSeverity, setSeverity
clearOptions, getOptions, isEnabled, putOptions, removeOption, removeOptions, setOption
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearOptions, getOptions, isEnabled, putOptions, removeOption, removeOptions, setOption
public PivotEnvironmentFactory(ProjectManager projectManager, ResourceSet externalResourceSet)
StandaloneProjectMap
of accessible resources and
an optional ModelManager
for loaded instances.public <T> T getValue(Option<T> option)
Customizable
getValue
in interface Customizable
getValue
in class AbstractCustomizable
option
- the option to querypublic void setProject(IProject project)
EnvironmentFactoryInternal
setProject
in interface EnvironmentFactoryInternal
setProject
in class AbstractEnvironmentFactory
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.