public abstract static class StandaloneProjectMap.AbstractResourceDescriptor extends Object implements ProjectManager.IResourceDescriptor
| Modifier and Type | Method and Description |
|---|---|
void |
addedDynamicResource(ResourceSet resourceSet,
Resource resource) |
void |
addedGeneratedPackage(ResourceSet resourceSet,
EPackage ePackage) |
void |
configure(ResourceSet resourceSet,
ProjectManager.IResourceLoadStrategy resourceLoadStrategy,
ProjectManager.IConflictHandler conflictHandler) |
void |
configureResourceSetURIResourceMap(ResourceSet resourceSet,
Resource resource) |
URI |
getGenModelURI()
Return the project relative Gen Model URI.
|
URI |
getLocationURI()
Return the external filespace form of the model URI containing the package.
|
List<? extends ProjectManager.IPackageDescriptor> |
getPackageDescriptors()
Return the descriptors for allpackages in this resource.
|
URI |
getPlatformPluginURI()
Return the platform:/plugin form of the model URI containing the package
|
URI |
getPlatformResourceURI()
Return the platform:/resource form of the model URI containing the package
|
ProjectManager.IProjectDescriptor |
getProjectDescriptor()
Return the Project Descriptor containing this resource.
|
URI |
getProjectRelativeEcorePackageURI(URI genModelRelativeEcorePackageURI) |
ProjectManager.IResourceLoadStatus |
getResourceLoadStatus(ResourceSet resourceSet)
Return IResourceLoadStatus for this resource in conjunction with resourceSet.
|
boolean |
hasEcoreModel()
Return true if setEcoreModel has defined the Ecore Model context.
|
void |
setEcoreModel(List<String> genModelRelativeEcorePackageUris,
Map<String,ProjectManager.IPackageDescriptor> nsURI2packageDescriptor)
Set the Ecore Model context of the resource from a list of URIs of the Ecore Packages relative to the
genModelURI, and a map of the package namespace URI to package descriptor.
|
void |
unload(ResourceSet resourceSet)
Unload the package registry to force a reload.
|
public void addedDynamicResource(ResourceSet resourceSet,
Resource resource)
addedDynamicResource in interface ProjectManager.IResourceDescriptorpublic void addedGeneratedPackage(ResourceSet resourceSet,
EPackage ePackage)
addedGeneratedPackage in interface ProjectManager.IResourceDescriptorpublic void configure(ResourceSet resourceSet,
ProjectManager.IResourceLoadStrategy resourceLoadStrategy,
ProjectManager.IConflictHandler conflictHandler)
configure in interface ProjectManager.IResourceDescriptorpublic void configureResourceSetURIResourceMap(ResourceSet resourceSet,
Resource resource)
configureResourceSetURIResourceMap in interface ProjectManager.IResourceDescriptorpublic URI getGenModelURI()
ProjectManager.IResourceDescriptorgetGenModelURI in interface ProjectManager.IResourceDescriptorpublic URI getLocationURI()
ProjectManager.IResourceDescriptorgetLocationURI in interface ProjectManager.IResourceDescriptorpublic List<? extends ProjectManager.IPackageDescriptor> getPackageDescriptors()
ProjectManager.IResourceDescriptorgetPackageDescriptors in interface ProjectManager.IResourceDescriptorpublic URI getPlatformPluginURI()
ProjectManager.IResourceDescriptorgetPlatformPluginURI in interface ProjectManager.IResourceDescriptorpublic URI getPlatformResourceURI()
ProjectManager.IResourceDescriptorgetPlatformResourceURI in interface ProjectManager.IResourceDescriptorpublic ProjectManager.IProjectDescriptor getProjectDescriptor()
ProjectManager.IResourceDescriptorgetProjectDescriptor in interface ProjectManager.IResourceDescriptorpublic URI getProjectRelativeEcorePackageURI(URI genModelRelativeEcorePackageURI)
getProjectRelativeEcorePackageURI in interface ProjectManager.IResourceDescriptorpublic ProjectManager.IResourceLoadStatus getResourceLoadStatus(ResourceSet resourceSet)
ProjectManager.IResourceDescriptorgetResourceLoadStatus in interface ProjectManager.IResourceDescriptorpublic boolean hasEcoreModel()
ProjectManager.IResourceDescriptorhasEcoreModel in interface ProjectManager.IResourceDescriptorpublic void setEcoreModel(List<String> genModelRelativeEcorePackageUris, Map<String,ProjectManager.IPackageDescriptor> nsURI2packageDescriptor)
ProjectManager.IResourceDescriptorsetEcoreModel in interface ProjectManager.IResourceDescriptorpublic void unload(ResourceSet resourceSet)
ProjectManager.IResourceDescriptorunload in interface ProjectManager.IResourceDescriptorCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.