public static interface ProjectManager.IProjectDescriptor
Modifier and Type | Interface and Description |
---|---|
static interface |
ProjectManager.IProjectDescriptor.IProjectDescriptorExtension |
Modifier and Type | Method and Description |
---|---|
void |
addPackageDescriptor(ProjectManager.IPackageDescriptor packageDescriptor)
Call back to add a packageDescriptor to the project.
|
void |
addResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor)
Call back to add a resourceDescriptor to the project.
|
void |
configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
ProjectManager.IResourceLoadStrategy resourceLoadStrategy,
ProjectManager.IConflictHandler conflictHandler)
Configure the resourceSet-specific status of for this resource to use
a strategy and a conflictHandler.
|
ProjectManager.IResourceDescriptor |
createResourceDescriptor(java.lang.String projectRelativeGenModelUri,
java.util.Map<org.eclipse.emf.common.util.URI,java.lang.String> nsURI2className)
Create an IResourceDescriptor for a projectRelativeGenModelUri comprsising a map of NsURI to className.
|
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()
Return project name.
|
ProjectManager.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.
|
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.
|
ProjectManager |
getProjectManager()
Return the overall ProjectMap.
|
java.util.Collection<ProjectManager.IResourceDescriptor> |
getResourceDescriptors()
Return all packages descriptors in the project.
|
void |
initializeGenModelLocationMap(java.util.Map<org.eclipse.emf.common.util.URI,ProjectManager.IPackageDescriptor> nsURI2package) |
void |
initializePlatformResourceMap() |
void |
initializeURIMap(java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap) |
void |
unload(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
void addPackageDescriptor(@NonNull ProjectManager.IPackageDescriptor packageDescriptor)
void addResourceDescriptor(@NonNull ProjectManager.IResourceDescriptor resourceDescriptor)
void configure(@Nullable org.eclipse.emf.ecore.resource.ResourceSet resourceSet, @NonNull ProjectManager.IResourceLoadStrategy resourceLoadStrategy, @Nullable ProjectManager.IConflictHandler conflictHandler)
@NonNull ProjectManager.IResourceDescriptor createResourceDescriptor(@NonNull java.lang.String projectRelativeGenModelUri, @NonNull java.util.Map<org.eclipse.emf.common.util.URI,java.lang.String> nsURI2className)
@NonNull org.eclipse.emf.common.util.URI getLocationURI()
@NonNull org.eclipse.emf.common.util.URI getLocationURI(@NonNull java.lang.String projectRelativeFileName)
@NonNull java.io.File getLocationFile(@NonNull java.lang.String projectRelativeFileName)
@NonNull java.lang.String getName()
@NonNull org.eclipse.emf.common.util.URI getPlatformPluginURI()
@NonNull org.eclipse.emf.common.util.URI getPlatformPluginURI(@NonNull java.lang.String projectRelativeFileName)
@NonNull org.eclipse.emf.common.util.URI getPlatformResourceURI()
@NonNull org.eclipse.emf.common.util.URI getPlatformResourceURI(@NonNull java.lang.String projectRelativeFileName)
@Nullable ProjectManager.IPackageDescriptor getPackageDescriptor(@NonNull org.eclipse.emf.common.util.URI nsURI)
@NonNull ProjectManager getProjectManager()
@Nullable java.util.Collection<ProjectManager.IResourceDescriptor> getResourceDescriptors()
void initializeGenModelLocationMap(@NonNull java.util.Map<org.eclipse.emf.common.util.URI,ProjectManager.IPackageDescriptor> nsURI2package)
void initializePlatformResourceMap()
void initializeURIMap(@NonNull java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap)
void unload(@NonNull org.eclipse.emf.ecore.resource.ResourceSet resourceSet)