public interface ProjectManager
NO_PROJECTS
- Lightweight with no external projects contributionsCLASS_PATH
- A shared Heavyweight including classpath analysisBasicProjectManager.createDefaultProjectManager()
- Convenient method to create local heavyweight local managersModifier and Type | Interface and Description |
---|---|
static interface |
ProjectManager.IConflictHandler
An IConflictHandler configures the handling of conflicting access between generated packages and
dynamically loaded resources.
|
static interface |
ProjectManager.IPackageDescriptor
An IPackageDescriptor describes the modeling capabilities of a known
model package and may be installed under a variety of synonyms in an
EPackage.Registry to map multiple URIs to a single EPackage.
|
static interface |
ProjectManager.IPackageLoadStatus
An IPackageLoadStatus maintains the lazy load state of a package within an EPackage.Registry
|
static interface |
ProjectManager.IProjectDescriptor
An IProjectDescriptor describes the capabilities of a project.
|
static interface |
ProjectManager.IResourceDescriptor
An IResourceDescriptor describes the modeling capabilities of one or more known
model packages in a genmodel.
|
static interface |
ProjectManager.IResourceLoadStatus
An IResourceLoadStatus maintains the lazy load state of a resource associated with a genmodel
identified by an IResourceDescriptor within a ResourceSet.
|
static interface |
ProjectManager.IResourceLoadStrategy
An IResourceLoadStrategy determines how each of the possible forms of URI reference to an EPackage should loaded.
|
Modifier and Type | Field and Description |
---|---|
static ProjectManager |
CLASS_PATH
The CLASS_PATH ProjectManager provides a shared ProjectManager that allows many OCL instances to share
a single immutable ProjectManager and consequently share the costly classpath analysis to identify
available projects.
|
static ProjectManager |
NO_PROJECTS
The NO_PROJECTS instance of ProjectManager contributes no external projects to a user application.
|
Modifier and Type | Method and Description |
---|---|
void |
addResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor) |
void |
configure(ResourceSet resourceSet,
ProjectManager.IResourceLoadStrategy instance,
ProjectManager.IConflictHandler instance2) |
ProjectManager.IPackageDescriptor |
getPackageDescriptor(URI ecoreURI) |
ProjectManager.IResourceDescriptor |
getResourceDescriptor(URI uri) |
void |
initializeResourceSet(ResourceSet resourceSet) |
boolean |
isGlobal() |
void |
removeResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor) |
void |
unload(ResourceSet resourceSet) |
void |
useGeneratedResource(Resource resource,
ResourceSet resourceSet) |
static final ProjectManager NO_PROJECTS
static final ProjectManager CLASS_PATH
void addResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor)
void configure(ResourceSet resourceSet, ProjectManager.IResourceLoadStrategy instance, ProjectManager.IConflictHandler instance2)
ProjectManager.IPackageDescriptor getPackageDescriptor(URI ecoreURI)
ProjectManager.IResourceDescriptor getResourceDescriptor(URI uri)
void initializeResourceSet(ResourceSet resourceSet)
boolean isGlobal()
void removeResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor)
void unload(ResourceSet resourceSet)
void useGeneratedResource(Resource resource, ResourceSet resourceSet)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.