|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.ProjectDescriptor
public static class StandaloneProjectMap.ProjectDescriptor
| Field Summary | |
|---|---|
protected org.eclipse.emf.common.util.URI |
locationURI
The resolveable location. |
protected java.lang.String |
name
The project/bundle/plugin name; e.g. |
protected StandaloneProjectMap |
projectMap
The overall ProjectMap |
| Constructor Summary | |
|---|---|
StandaloneProjectMap.ProjectDescriptor(StandaloneProjectMap projectMap,
java.lang.String name,
org.eclipse.emf.common.util.URI locationURI)
|
|
| Method Summary | |
|---|---|
void |
addPackageDescriptor(StandaloneProjectMap.IPackageDescriptor packageDescriptor)
Call back to add a packageDescriptor to the project. |
void |
addResourceDescriptor(StandaloneProjectMap.IResourceDescriptor resourceDescriptor)
Call back to add a resourceDescriptor to the project. |
void |
configure(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
StandaloneProjectMap.IResourceLoadStrategy resourceLoadStrategy,
StandaloneProjectMap.IConflictHandler conflictHandler)
Configure the resourceSet-specific status of for this resource to use a strategy and a conflictHandler. |
StandaloneProjectMap.IResourceDescriptor |
createResourceDescriptor(java.lang.String genModel,
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. |
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. |
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. |
StandaloneProjectMap |
getProjectMap()
Return the overall ProjectMap. |
java.util.Collection<StandaloneProjectMap.IResourceDescriptor> |
getResourceDescriptors()
Return all packages descriptors in the project. |
void |
initializeGenModelLocationMap(java.util.Map<org.eclipse.emf.common.util.URI,StandaloneProjectMap.IPackageDescriptor> nsURI2package)
|
void |
initializePlatformResourceMap()
|
void |
initializeURIMap(java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap)
|
java.lang.String |
toString()
|
void |
unload(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@NonNull protected final StandaloneProjectMap projectMap
@NonNull protected final java.lang.String name
@NonNull protected final org.eclipse.emf.common.util.URI locationURI
| Constructor Detail |
|---|
public StandaloneProjectMap.ProjectDescriptor(@NonNull
StandaloneProjectMap projectMap,
@NonNull
java.lang.String name,
@NonNull
org.eclipse.emf.common.util.URI locationURI)
| Method Detail |
|---|
public void addPackageDescriptor(@NonNull
StandaloneProjectMap.IPackageDescriptor packageDescriptor)
StandaloneProjectMap.IProjectDescriptor
addPackageDescriptor in interface StandaloneProjectMap.IProjectDescriptor
public void addResourceDescriptor(@NonNull
StandaloneProjectMap.IResourceDescriptor resourceDescriptor)
StandaloneProjectMap.IProjectDescriptor
addResourceDescriptor in interface StandaloneProjectMap.IProjectDescriptor
public void configure(@Nullable
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
@NonNull
StandaloneProjectMap.IResourceLoadStrategy resourceLoadStrategy,
@Nullable
StandaloneProjectMap.IConflictHandler conflictHandler)
StandaloneProjectMap.IProjectDescriptor
configure in interface StandaloneProjectMap.IProjectDescriptor
@NonNull
public StandaloneProjectMap.IResourceDescriptor createResourceDescriptor(@NonNull
java.lang.String genModel,
@NonNull
java.util.Map<org.eclipse.emf.common.util.URI,java.lang.String> nsURI2className)
StandaloneProjectMap.IProjectDescriptor
createResourceDescriptor in interface StandaloneProjectMap.IProjectDescriptor@NonNull public org.eclipse.emf.common.util.URI getLocationURI()
StandaloneProjectMap.IProjectDescriptor
getLocationURI in interface StandaloneProjectMap.IProjectDescriptor
@NonNull
public org.eclipse.emf.common.util.URI getLocationURI(@NonNull
java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptor
getLocationURI in interface StandaloneProjectMap.IProjectDescriptor
@NonNull
public java.io.File getLocationFile(@NonNull
java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptor
getLocationFile in interface StandaloneProjectMap.IProjectDescriptor@NonNull public java.lang.String getName()
StandaloneProjectMap.IProjectDescriptor
getName in interface StandaloneProjectMap.IProjectDescriptor
@Nullable
public StandaloneProjectMap.IPackageDescriptor getPackageDescriptor(@NonNull
org.eclipse.emf.common.util.URI nsURI)
StandaloneProjectMap.IProjectDescriptor
getPackageDescriptor in interface StandaloneProjectMap.IProjectDescriptor@Nullable public java.util.Collection<StandaloneProjectMap.IResourceDescriptor> getResourceDescriptors()
StandaloneProjectMap.IProjectDescriptor
getResourceDescriptors in interface StandaloneProjectMap.IProjectDescriptor@NonNull public org.eclipse.emf.common.util.URI getPlatformPluginURI()
StandaloneProjectMap.IProjectDescriptor
getPlatformPluginURI in interface StandaloneProjectMap.IProjectDescriptor
@NonNull
public org.eclipse.emf.common.util.URI getPlatformPluginURI(@NonNull
java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptor
getPlatformPluginURI in interface StandaloneProjectMap.IProjectDescriptor@NonNull public org.eclipse.emf.common.util.URI getPlatformResourceURI()
StandaloneProjectMap.IProjectDescriptor
getPlatformResourceURI in interface StandaloneProjectMap.IProjectDescriptor
@NonNull
public org.eclipse.emf.common.util.URI getPlatformResourceURI(@NonNull
java.lang.String projectRelativeFileName)
StandaloneProjectMap.IProjectDescriptor
getPlatformResourceURI in interface StandaloneProjectMap.IProjectDescriptor@NonNull public StandaloneProjectMap getProjectMap()
StandaloneProjectMap.IProjectDescriptor
getProjectMap in interface StandaloneProjectMap.IProjectDescriptor
public void initializeGenModelLocationMap(@NonNull
java.util.Map<org.eclipse.emf.common.util.URI,StandaloneProjectMap.IPackageDescriptor> nsURI2package)
initializeGenModelLocationMap in interface StandaloneProjectMap.IProjectDescriptorpublic void initializePlatformResourceMap()
initializePlatformResourceMap in interface StandaloneProjectMap.IProjectDescriptor
public void initializeURIMap(@NonNull
java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap)
initializeURIMap in interface StandaloneProjectMap.IProjectDescriptor
public void unload(@NonNull
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
unload in interface StandaloneProjectMap.IProjectDescriptorpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||