|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.AbstractResourceLoadStrategy org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.LoadFirstStrategy
public static final class StandaloneProjectMap.LoadFirstStrategy
The LoadFirstStrategy uses the EPackage corresponding to the first access as either a namespace URI or platform plugin.resource URI.Thereafter accesses to the same URI use the first loaded EPackage. Accesses to the other form of URI are arbitrated by the IConflictHandler in the IResourceLoadStatus.
Field Summary | |
---|---|
static StandaloneProjectMap.IResourceLoadStrategy |
INSTANCE
|
Constructor Summary | |
---|---|
StandaloneProjectMap.LoadFirstStrategy()
|
Method Summary | |
---|---|
void |
addedDynamicResource(StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus,
org.eclipse.emf.ecore.resource.Resource resource)
Respond to the explicit addition of a yet to be loaded Ecore model in the user's ResourceSet. |
void |
addedGeneratedPackage(StandaloneProjectMap.IPackageLoadStatus packageLoadStatus,
org.eclipse.emf.ecore.EPackage ePackage)
Respond to the explicit addition of a generated EPackage in the user's ResourceSet. |
org.eclipse.emf.ecore.EPackage |
getEPackage(StandaloneProjectMap.IPackageLoadStatus packageLoadStatus)
Load and return the EPackage in response to an EPackage.Registry access through an EPackageDescriptor. |
void |
handleConflictingDynamicResource(StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus,
org.eclipse.emf.ecore.EPackage ePackage)
Respond to the platform/plugin access to a resource with a resourceLoadStatus containing a package already accessed as the Java generated ePackage, |
void |
unloadedResource(StandaloneProjectMap.IResourceLoadStatus packageLoadStatus)
Respond to the notification that the resource has been unloaded. |
void |
useGeneratedResource(StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus,
org.eclipse.emf.ecore.resource.Resource resource)
Respond to the explicit notification of a generated resource. |
Methods inherited from class org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.AbstractResourceLoadStrategy |
---|
configure, loadedDynamicResource, loadEPackage, loadModel, returnEPackage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
@NonNull public static final StandaloneProjectMap.IResourceLoadStrategy INSTANCE
Constructor Detail |
---|
public StandaloneProjectMap.LoadFirstStrategy()
Method Detail |
---|
public void addedDynamicResource(@NonNull StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
StandaloneProjectMap.IResourceLoadStrategy
addedDynamicResource
in interface StandaloneProjectMap.IResourceLoadStrategy
addedDynamicResource
in class StandaloneProjectMap.AbstractResourceLoadStrategy
public void addedGeneratedPackage(@NonNull StandaloneProjectMap.IPackageLoadStatus packageLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
StandaloneProjectMap.IResourceLoadStrategy
addedGeneratedPackage
in interface StandaloneProjectMap.IResourceLoadStrategy
addedGeneratedPackage
in class StandaloneProjectMap.AbstractResourceLoadStrategy
@Nullable public org.eclipse.emf.ecore.EPackage getEPackage(@NonNull StandaloneProjectMap.IPackageLoadStatus packageLoadStatus)
StandaloneProjectMap.IResourceLoadStrategy
public void handleConflictingDynamicResource(@NonNull StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
StandaloneProjectMap.IResourceLoadStrategy
handleConflictingDynamicResource
in interface StandaloneProjectMap.IResourceLoadStrategy
handleConflictingDynamicResource
in class StandaloneProjectMap.AbstractResourceLoadStrategy
public void unloadedResource(@NonNull StandaloneProjectMap.IResourceLoadStatus packageLoadStatus)
StandaloneProjectMap.IResourceLoadStrategy
public void useGeneratedResource(@NonNull StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
StandaloneProjectMap.IResourceLoadStrategy
useGeneratedResource
in interface StandaloneProjectMap.IResourceLoadStrategy
useGeneratedResource
in class StandaloneProjectMap.AbstractResourceLoadStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |