public static class StandaloneProjectMap.ProjectDescriptor extends java.lang.Object implements StandaloneProjectMap.IProjectDescriptor.Internal
StandaloneProjectMap.IProjectDescriptor.Internal| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.URI |
locationURI
The resolveable location.
|
protected java.lang.String |
name
The project/bundle/plugin name; e.g.
|
| Constructor and Description |
|---|
StandaloneProjectMap.ProjectDescriptor(java.lang.String name,
org.eclipse.emf.common.util.URI locationURI) |
| Modifier and Type | Method and Description |
|---|---|
StandaloneProjectMap.IPackageDescriptor.Internal |
createPackageDescriptor(org.eclipse.emf.common.util.URI nsURI,
org.eclipse.emf.common.util.URI genModelURI)
Internal callback from Ecore model pre-parse to register the
Ecore Package URI.
|
java.io.File |
getLocationFile(java.lang.String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a File.
|
org.eclipse.emf.common.util.URI |
getLocationURI()
Return the physical location of this project.
|
org.eclipse.emf.common.util.URI |
getLocationURI(java.lang.String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a URI.
|
java.lang.String |
getName() |
StandaloneProjectMap.IPackageDescriptor |
getPackageDescriptor(org.eclipse.emf.common.util.URI nsURI)
Return the package descriptor for the package with a given nsURI or
null if none known in the project.
|
java.util.Collection<StandaloneProjectMap.IPackageDescriptor> |
getPackageDescriptors()
Return all package descriptor in the project.
|
org.eclipse.emf.common.util.URI |
getPlatformPluginURI()
Return the location of this project as a platform:/plugin URI.
|
org.eclipse.emf.common.util.URI |
getPlatformPluginURI(java.lang.String projectRelativeFileName)
Return the location of a projectRelativeFileName as a
platform:/resource URI.
|
org.eclipse.emf.common.util.URI |
getPlatformResourceURI()
Return the location of this project as a platform:/resource URI.
|
org.eclipse.emf.common.util.URI |
getPlatformResourceURI(java.lang.String projectRelativeFileName)
Return the location of a projectRelativeFileName as a
platform:/resource URI.
|
void |
initializeGenModelLocationMap() |
void |
initializePackageRegistration(org.eclipse.emf.ecore.EPackage.Registry packageRegistry,
StandaloneProjectMap.IPackageDescriptor packageDescriptor) |
void |
initializePlatformResourceMap() |
void |
initializeURIMap(java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap) |
void |
installEcoreModel(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.util.URI nsURI) |
java.lang.String |
toString() |
void |
useModelsAndPackages(org.eclipse.emf.ecore.resource.Resource ecoreResource) |
void |
usePackages(org.eclipse.emf.ecore.resource.Resource ecoreResource)
Treat any top level packages in ecoreResource as preloaded packages
for use by corresponding URIs in this project.
|
protected final java.lang.String name
protected final org.eclipse.emf.common.util.URI locationURI
public StandaloneProjectMap.ProjectDescriptor(java.lang.String name,
org.eclipse.emf.common.util.URI locationURI)
public StandaloneProjectMap.IPackageDescriptor.Internal createPackageDescriptor(org.eclipse.emf.common.util.URI nsURI, org.eclipse.emf.common.util.URI genModelURI)
StandaloneProjectMap.IProjectDescriptor.InternalcreatePackageDescriptor in interface StandaloneProjectMap.IProjectDescriptor.Internalpublic org.eclipse.emf.common.util.URI getLocationURI()
StandaloneProjectMap.IProjectDescriptorgetLocationURI in interface StandaloneProjectMap.IProjectDescriptorpublic org.eclipse.emf.common.util.URI getLocationURI(java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptorgetLocationURI in interface StandaloneProjectMap.IProjectDescriptorpublic java.io.File getLocationFile(java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptorgetLocationFile in interface StandaloneProjectMap.IProjectDescriptorpublic java.lang.String getName()
public StandaloneProjectMap.IPackageDescriptor getPackageDescriptor(org.eclipse.emf.common.util.URI nsURI)
StandaloneProjectMap.IProjectDescriptorgetPackageDescriptor in interface StandaloneProjectMap.IProjectDescriptorpublic java.util.Collection<StandaloneProjectMap.IPackageDescriptor> getPackageDescriptors()
StandaloneProjectMap.IProjectDescriptorgetPackageDescriptors in interface StandaloneProjectMap.IProjectDescriptorpublic org.eclipse.emf.common.util.URI getPlatformPluginURI()
StandaloneProjectMap.IProjectDescriptorgetPlatformPluginURI in interface StandaloneProjectMap.IProjectDescriptorpublic org.eclipse.emf.common.util.URI getPlatformPluginURI(java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptorgetPlatformPluginURI in interface StandaloneProjectMap.IProjectDescriptorpublic org.eclipse.emf.common.util.URI getPlatformResourceURI()
StandaloneProjectMap.IProjectDescriptorgetPlatformResourceURI in interface StandaloneProjectMap.IProjectDescriptorpublic org.eclipse.emf.common.util.URI getPlatformResourceURI(java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptorgetPlatformResourceURI in interface StandaloneProjectMap.IProjectDescriptorpublic void installEcoreModel(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.common.util.URI nsURI)
public void initializeGenModelLocationMap()
initializeGenModelLocationMap in interface StandaloneProjectMap.IProjectDescriptorpublic void initializePackageRegistration(org.eclipse.emf.ecore.EPackage.Registry packageRegistry,
StandaloneProjectMap.IPackageDescriptor packageDescriptor)
initializePackageRegistration in interface StandaloneProjectMap.IProjectDescriptorpublic void initializePlatformResourceMap()
initializePlatformResourceMap in interface StandaloneProjectMap.IProjectDescriptorpublic void initializeURIMap(java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap)
initializeURIMap in interface StandaloneProjectMap.IProjectDescriptorpublic java.lang.String toString()
toString in class java.lang.Objectpublic void useModelsAndPackages(org.eclipse.emf.ecore.resource.Resource ecoreResource)
useModelsAndPackages in interface StandaloneProjectMap.IProjectDescriptorpublic void usePackages(org.eclipse.emf.ecore.resource.Resource ecoreResource)
StandaloneProjectMap.IProjectDescriptorusePackages in interface StandaloneProjectMap.IProjectDescriptor