org.eclipse.ocl.examples.domain.utilities
Interface StandaloneProjectMap.IProjectDescriptor

All Known Subinterfaces:
StandaloneProjectMap.IProjectDescriptor.Internal
All Known Implementing Classes:
ProjectMap.ProjectDescriptor, StandaloneProjectMap.ProjectDescriptor
Enclosing class:
StandaloneProjectMap

public static interface StandaloneProjectMap.IProjectDescriptor

An IProjectDescriptor describes the capabilities of a project.


Nested Class Summary
static interface StandaloneProjectMap.IProjectDescriptor.Internal
           
 
Method Summary
 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.
 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 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.
 

Method Detail

getLocationURI

org.eclipse.emf.common.util.URI getLocationURI()
Return the physical location of this project.


getLocationURI

org.eclipse.emf.common.util.URI getLocationURI(java.lang.String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a URI.


getLocationFile

java.io.File getLocationFile(java.lang.String projectRelativeFileName)
Return the physical location of a projectRelativeFileName as a File.


getPlatformPluginURI

org.eclipse.emf.common.util.URI getPlatformPluginURI()
Return the location of this project as a platform:/plugin URI.


getPlatformPluginURI

org.eclipse.emf.common.util.URI getPlatformPluginURI(java.lang.String projectRelativeFileName)
Return the location of a projectRelativeFileName as a platform:/resource URI.


getPlatformResourceURI

org.eclipse.emf.common.util.URI getPlatformResourceURI()
Return the location of this project as a platform:/resource URI.


getPlatformResourceURI

org.eclipse.emf.common.util.URI getPlatformResourceURI(java.lang.String projectRelativeFileName)
Return the location of a projectRelativeFileName as a platform:/resource URI.


getPackageDescriptor

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.


getPackageDescriptors

java.util.Collection<StandaloneProjectMap.IPackageDescriptor> getPackageDescriptors()
Return all package descriptor in the project.


initializeGenModelLocationMap

void initializeGenModelLocationMap()

initializePackageRegistration

void initializePackageRegistration(org.eclipse.emf.ecore.EPackage.Registry packageRegistry,
                                   StandaloneProjectMap.IPackageDescriptor packageDescriptor)

initializePlatformResourceMap

void initializePlatformResourceMap()

initializeURIMap

void initializeURIMap(java.util.Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.common.util.URI> uriMap)

useModelsAndPackages

void useModelsAndPackages(org.eclipse.emf.ecore.resource.Resource ecoreResource)

usePackages

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.