public abstract static class StandaloneProjectMap.AbstractResourceLoadStatus extends Object implements 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
|
Resource |
getResource() |
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.
|
Notifier |
getTarget() |
EPackage |
handleConflictingGeneratedPackage(ProjectManager.IPackageLoadStatus packageLoadStatus) |
boolean |
isAdapterForType(Object type) |
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 |
notifyChanged(Notification notification) |
void |
setConflictHandler(ProjectManager.IConflictHandler conflictHandler)
Define a new conflict handler.
|
void |
setGenerationInProgress(boolean isGenerating)
Set true by AS2Ecore to inhibit auto-loading of newly added EPackages.
|
void |
setResource(Resource resource)
Define the resource once it has been loaded.
|
void |
setResourceLoadStrategy(ProjectManager.IResourceLoadStrategy resourceLoadStrategy)
Define a new package load strategy.
|
void |
setTarget(Notifier newTarget) |
String |
toString() |
void |
unloadedResource()
Reset the status following notification that the model has been unloaded.
|
public void configureEPackageRegistry(Resource resource)
ProjectManager.IResourceLoadStatusconfigureEPackageRegistry in interface ProjectManager.IResourceLoadStatuspublic void configureDelegatingResource()
ProjectManager.IResourceLoadStatusconfigureDelegatingResource in interface ProjectManager.IResourceLoadStatuspublic void configureResourceSetURIResourceMap(Resource resource)
ProjectManager.IResourceLoadStatusconfigureResourceSetURIResourceMap in interface ProjectManager.IResourceLoadStatuspublic void dispose()
ProjectManager.IResourceLoadStatusdispose in interface ProjectManager.IResourceLoadStatuspublic EPackage getConflictingDynamicResource(EPackage ePackage)
ProjectManager.IResourceLoadStatusgetConflictingDynamicResource in interface ProjectManager.IResourceLoadStatuspublic EPackage getFirstEPackage()
ProjectManager.IResourceLoadStatusgetFirstEPackage in interface ProjectManager.IResourceLoadStatuspublic ProjectManager.IPackageLoadStatus getPackageLoadStatus(ProjectManager.IPackageDescriptor packageDescriptor)
ProjectManager.IResourceLoadStatusgetPackageLoadStatus in interface ProjectManager.IResourceLoadStatuspublic ProjectManager.IResourceLoadStrategy getResourceLoadStrategy()
ProjectManager.IResourceLoadStatusgetResourceLoadStrategy in interface ProjectManager.IResourceLoadStatuspublic EPackage.Registry getPackageRegistry()
ProjectManager.IResourceLoadStatusgetPackageRegistry in interface ProjectManager.IResourceLoadStatuspublic ProjectManager.IResourceDescriptor getResourceDescriptor()
ProjectManager.IResourceLoadStatusgetResourceDescriptor in interface ProjectManager.IResourceLoadStatuspublic Resource getResource()
public ResourceSet getResourceSet()
ProjectManager.IResourceLoadStatusgetResourceSet in interface ProjectManager.IResourceLoadStatuspublic Notifier getTarget()
public EPackage handleConflictingGeneratedPackage(ProjectManager.IPackageLoadStatus packageLoadStatus)
public boolean isAdapterForType(Object type)
public void loadGeneratedPackages()
ProjectManager.IResourceLoadStatusloadGeneratedPackages in interface ProjectManager.IResourceLoadStatuspublic Resource loadDynamicResource(URI nsURI)
ProjectManager.IResourceLoadStatusloadDynamicResource in interface ProjectManager.IResourceLoadStatuspublic void notifyChanged(Notification notification)
public void setConflictHandler(ProjectManager.IConflictHandler conflictHandler)
ProjectManager.IResourceLoadStatussetConflictHandler in interface ProjectManager.IResourceLoadStatuspublic void setGenerationInProgress(boolean isGenerating)
setGenerationInProgress in interface ProjectManager.IResourceLoadStatuspublic void setResource(Resource resource)
ProjectManager.IResourceLoadStatussetResource in interface ProjectManager.IResourceLoadStatuspublic void setResourceLoadStrategy(ProjectManager.IResourceLoadStrategy resourceLoadStrategy)
ProjectManager.IResourceLoadStatussetResourceLoadStrategy in interface ProjectManager.IResourceLoadStatuspublic void setTarget(Notifier newTarget)
public void unloadedResource()
ProjectManager.IResourceLoadStatusunloadedResource in interface ProjectManager.IResourceLoadStatusCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.