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(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(String projectRelativeGenModelUri,
Map<URI,String> nsURI2className)
Create an IResourceDescriptor for a projectRelativeGenModelUri comprsising a map of NsURI to className.
|
File |
getLocationFile(String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a File.
|
URI |
getLocationURI()
Return the physical location of this project.
|
URI |
getLocationURI(String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a URI.
|
String |
getName()
Return project name.
|
ProjectManager.IPackageDescriptor |
getPackageDescriptor(URI nsURI)
Return the package descriptor for the package with a given nsURI or
null if none known in the project.
|
URI |
getPlatformPluginURI()
Return the location of this project as a platform:/plugin URI.
|
URI |
getPlatformPluginURI(String projectRelativeFileName)
Return the location of a projectRelativeFileName as a
platform:/resource URI.
|
URI |
getPlatformResourceURI()
Return the location of this project as a platform:/resource URI.
|
URI |
getPlatformResourceURI(String projectRelativeFileName)
Return the location of a projectRelativeFileName as a
platform:/resource URI.
|
ProjectManager |
getProjectManager()
Return the overall ProjectMap.
|
Collection<ProjectManager.IResourceDescriptor> |
getResourceDescriptors()
Return all packages descriptors in the project.
|
void |
initializeGenModelLocationMap(Map<URI,ProjectManager.IPackageDescriptor> nsURI2package) |
void |
initializePlatformResourceMap() |
void |
initializeURIMap(Map<URI,URI> uriMap) |
void |
unload(ResourceSet resourceSet) |
void addPackageDescriptor(ProjectManager.IPackageDescriptor packageDescriptor)
void addResourceDescriptor(ProjectManager.IResourceDescriptor resourceDescriptor)
void configure(ResourceSet resourceSet, ProjectManager.IResourceLoadStrategy resourceLoadStrategy, ProjectManager.IConflictHandler conflictHandler)
ProjectManager.IResourceDescriptor createResourceDescriptor(String projectRelativeGenModelUri, Map<URI,String> nsURI2className)
URI getLocationURI()
URI getLocationURI(String projectRelativeFileName)
File getLocationFile(String projectRelativeFileName)
String getName()
URI getPlatformPluginURI()
URI getPlatformPluginURI(String projectRelativeFileName)
URI getPlatformResourceURI()
URI getPlatformResourceURI(String projectRelativeFileName)
ProjectManager.IPackageDescriptor getPackageDescriptor(URI nsURI)
ProjectManager getProjectManager()
Collection<ProjectManager.IResourceDescriptor> getResourceDescriptors()
void initializeGenModelLocationMap(Map<URI,ProjectManager.IPackageDescriptor> nsURI2package)
void initializePlatformResourceMap()
void initializeURIMap(Map<URI,URI> uriMap)
void unload(ResourceSet resourceSet)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.