public interface EnvironmentFactoryInternal extends EnvironmentFactory
This interface is not intended to be implemented to be implemented
"directly" by providers of metamodel bindings.
It is highly recommended to extend the AbstractEnvironmentFactory
class, instead.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EnvironmentFactoryInternal.EnvironmentFactoryInternalExtension |
EnvironmentFactory.EnvironmentFactoryExtension, EnvironmentFactory.EnvironmentFactoryExtension2| Modifier and Type | Method and Description |
|---|---|
void |
addExternal2AS(External2AS external2as) |
void |
addExternalResources(ResourceSet externalResourceSet)
Add all resources in ResourceSet to the externalResourceSet.
|
void |
attach(Object object) |
void |
configureLoadFirstStrategy()
Configure the PackageRegistry associated with the (external) ResourceSet to use a load strategy that uses whichever of
the namespace or platform URI is first encountered and which suppresses diagnostics about subsequent use of the
other form of URI.
|
void |
configureLoadStrategy(ProjectManager.IResourceLoadStrategy packageLoadStrategy,
ProjectManager.IConflictHandler conflictHandler)
Configure the PackageRegistry associated with the (external) ResourceSet to use a packageLoadStrategy and conflictHandler when
resolving namespace and platform URIs.
|
ResourceSetImpl |
createASResourceSet()
Create and initialize the AS ResourceSet used by metamodelManager to contain the AS forms of CS and Ecore/UML resources.
|
CompleteEnvironmentInternal |
createCompleteEnvironment() |
FlowAnalysis |
createFlowAnalysis(OCLExpression contextExpression) |
IdResolver |
createIdResolver()
Create and initialize the IdResolver used by metamodelManager to convert Ids to Elements.
|
ImplementationManager |
createImplementationManager() |
PivotMetamodelManager |
createMetamodelManager() |
OCLInternal |
createOCL()
Creates a new
OCL instance attached to this EnvironmentFactory. |
ParserContext |
createParserContext(EObject context)
Deprecated.
|
void |
detach(Object object) |
void |
dispose() |
CompleteEnvironmentInternal |
getCompleteEnvironment()
Return the CompleteEnvironment that supervises the additional types need for collections specializations and tuples.
|
CompleteModelInternal |
getCompleteModel()
Return the CompleteModel that contains all the CompletePackages, which in turn contain all the CompleteClasses that
define the merge of individual Packages and Classes.
|
ICSI2ASMapping |
getCSI2ASMapping() |
String |
getDoSetupName(URI uri) |
PivotMetamodelManager |
getMetamodelManager()
Return the MetamodelManager used to supervise the normalized Abstract Syntax representations of the metamodels.
|
StandardLibraryInternal |
getStandardLibrary()
Return the (OCL) Standard Library that provides the build-in language facilities such as the OclAny and Set types.
|
Technology |
getTechnology() |
EPackage |
loadEPackage(EPackage ePackage)
Ensure that EPackage has been loaded in the externalResourceSet PackageRegistry.
|
Element |
loadResource(Resource resource,
URI uri) |
void |
setCSI2ASMapping(ICSI2ASMapping csi2asMapping) |
void |
setEvaluationTracingEnabled(boolean b) |
void |
setProject(IProject project)
Specify an Eclipse project with respect to which project-specific preferences are resolved.
|
void |
setSafeNavigationValidationSeverity(StatusCodes.Severity severity) |
adapt, createEvaluationEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createEvaluationVisitor, createModelManager, getIdResolver, getProjectManager, getResourceSet, getSeverity, setSeveritygetAdapterclearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOptionvoid addExternal2AS(External2AS external2as)
void addExternalResources(ResourceSet externalResourceSet)
void attach(Object object)
void configureLoadFirstStrategy()
void configureLoadStrategy(ProjectManager.IResourceLoadStrategy packageLoadStrategy, ProjectManager.IConflictHandler conflictHandler)
ResourceSetImpl createASResourceSet()
FlowAnalysis createFlowAnalysis(OCLExpression contextExpression)
CompleteEnvironmentInternal createCompleteEnvironment()
IdResolver createIdResolver()
ImplementationManager createImplementationManager()
PivotMetamodelManager createMetamodelManager()
OCLInternal createOCL()
EnvironmentFactoryCreates a new OCL instance attached to this EnvironmentFactory.
Clients should call OCL.dispose() to detach once they have no further use for
the OCL.
createOCL in interface EnvironmentFactoryOCL instance attached to this EnvironmentFactory@Deprecated ParserContext createParserContext(EObject context) throws ParserException
ParserExceptionvoid detach(Object object)
void dispose()
ICSI2ASMapping getCSI2ASMapping()
CompleteEnvironmentInternal getCompleteEnvironment()
EnvironmentFactorygetCompleteEnvironment in interface EnvironmentFactoryCompleteModelInternal getCompleteModel()
EnvironmentFactorygetCompleteModel in interface EnvironmentFactoryString getDoSetupName(URI uri)
PivotMetamodelManager getMetamodelManager()
EnvironmentFactorygetMetamodelManager in interface EnvironmentFactoryStandardLibraryInternal getStandardLibrary()
EnvironmentFactorygetStandardLibrary in interface EnvironmentFactoryTechnology getTechnology()
EPackage loadEPackage(EPackage ePackage)
Element loadResource(Resource resource, URI uri) throws ParserException
ParserExceptionvoid setCSI2ASMapping(ICSI2ASMapping csi2asMapping)
void setEvaluationTracingEnabled(boolean b)
void setProject(IProject project)
void setSafeNavigationValidationSeverity(StatusCodes.Severity severity)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.