public static interface ProjectManager.IResourceLoadStatus
Modifier and Type | Method and Description |
---|---|
void |
configureDelegatingResource()
Configure the ResourceSet.URIResourceMap to resolve platform:/plugin and platform:/resource
references to a pseudo resource that delegates to generated packages.
|
void |
configureEPackageRegistry(Resource resource)
Configure the EPackage.Registry to resolve namesapce URI references to the specified resource.
|
void |
configureResourceSetURIResourceMap(Resource resource)
Configure the ResourceSet.URIResourceMap to resolve platform:/plugin and platform:/resource
references to the specified resource.
|
void |
dispose()
Dispose of all facilities used by the IResourceLoadStatus, and remove all EPackageDescriptor entries.
|
EPackage |
getConflictingDynamicResource(EPackage ePackage)
Return the EPackage to be used for a platform-resource/plugin URI after a namespace URI has already been loaded.
|
EPackage |
getFirstEPackage()
Return the first loaded EPackage which may be part of a model or a Java generated EPackageinstance..
|
ProjectManager.IPackageLoadStatus |
getPackageLoadStatus(ProjectManager.IPackageDescriptor packageDescriptor)
Return the package load status for the package identified by packageDescriptor
|
EPackage.Registry |
getPackageRegistry()
Return the package registry maintained by this resource load status
|
ProjectManager.IResourceDescriptor |
getResourceDescriptor()
Return the descriptor for the resource.
|
ProjectManager.IResourceLoadStrategy |
getResourceLoadStrategy()
Return the configured resource loading strategy.
|
ResourceSet |
getResourceSet()
Return the ResourceSet to which the resource logically belongs.
|
Resource |
loadDynamicResource(URI nsURI)
Load and return the EPackage appropriate to the platform resource or plugin resource using nsURI to identify
a conflicting nsURI access,
|
void |
loadGeneratedPackages()
Load all the Java generated EPackage instances for the resource.
|
void |
setConflictHandler(ProjectManager.IConflictHandler conflictHandler)
Define a new conflict handler.
|
void |
setGenerationInProgress(boolean isGenerating)
Deprecated.
- try using a CreateStrategy instead, see Bug 465326
|
void |
setResource(Resource resource)
Define the resource once it has been loaded.
|
void |
setResourceLoadStrategy(ProjectManager.IResourceLoadStrategy resourceLoadStrategy)
Define a new package load strategy.
|
void |
unloadedResource()
Reset the status following notification that the model has been unloaded.
|
void configureDelegatingResource()
void configureEPackageRegistry(Resource resource)
void configureResourceSetURIResourceMap(Resource resource)
void dispose()
EPackage getConflictingDynamicResource(EPackage ePackage)
EPackage getFirstEPackage()
ProjectManager.IPackageLoadStatus getPackageLoadStatus(ProjectManager.IPackageDescriptor packageDescriptor)
ProjectManager.IResourceDescriptor getResourceDescriptor()
ProjectManager.IResourceLoadStrategy getResourceLoadStrategy()
EPackage.Registry getPackageRegistry()
ResourceSet getResourceSet()
Resource loadDynamicResource(URI nsURI)
void loadGeneratedPackages()
void setConflictHandler(ProjectManager.IConflictHandler conflictHandler)
@Deprecated void setGenerationInProgress(boolean isGenerating)
void setResource(Resource resource)
void setResourceLoadStrategy(ProjectManager.IResourceLoadStrategy resourceLoadStrategy)
void unloadedResource()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.