public interface ProjectManager
extends org.eclipse.emf.common.notify.Adapter
NO_PROJECTS - Lightweight with no external projects contributionsCLASS_PATH - A shared Heavyweight including classpath analysisBasicProjectManager.createDefaultProjectManager() - Convenient method to create local heavyweight local managers| Modifier 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(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
ProjectManager.IResourceLoadStrategy instance,
ProjectManager.IConflictHandler instance2) |
ProjectManager.IPackageDescriptor |
getPackageDescriptor(org.eclipse.emf.common.util.URI ecoreURI) |
ProjectManager.IResourceDescriptor |
getResourceDescriptor(org.eclipse.emf.common.util.URI uri) |
void |
initializeResourceSet(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
boolean |
isGlobal() |
void |
removeResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor) |
void |
unload(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
void |
useGeneratedResource(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
@NonNull static final ProjectManager NO_PROJECTS
@NonNull static final ProjectManager CLASS_PATH
void addResourceDescriptor(@NonNull
ProjectManager.IResourceDescriptor resourceDescriptor)
void configure(@NonNull
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
@NonNull
ProjectManager.IResourceLoadStrategy instance,
@Nullable
ProjectManager.IConflictHandler instance2)
ProjectManager.IPackageDescriptor getPackageDescriptor(@NonNull org.eclipse.emf.common.util.URI ecoreURI)
@Nullable ProjectManager.IResourceDescriptor getResourceDescriptor(@NonNull org.eclipse.emf.common.util.URI uri)
void initializeResourceSet(@Nullable
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
boolean isGlobal()
void removeResourceDescriptor(@NonNull
ProjectManager.IResourceDescriptor resourceDescriptor)
void unload(@NonNull
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
void useGeneratedResource(@NonNull
org.eclipse.emf.ecore.resource.Resource resource,
@NonNull
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)