|
||||||||||
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.AbstractResourceLoadStrategy
org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.LoadGeneratedPackageStrategy
public static final class StandaloneProjectMap.LoadGeneratedPackageStrategy
The LoadGeneratedPackageStrategy uses the generated EPackage referenced by the namespace URI for all kinds of access, and then changes the strategy to the LoadedStrategy for all further accesses.
Field Summary | |
---|---|
static StandaloneProjectMap.IResourceLoadStrategy |
INSTANCE
|
Constructor Summary | |
---|---|
StandaloneProjectMap.LoadGeneratedPackageStrategy()
|
Method Summary | |
---|---|
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. |
void |
configure(StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus,
StandaloneProjectMap.IConflictHandler conflictHandler)
Configure the resourceLoadStatus to udse this strategy and a conflictHandler. |
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. |
Methods inherited from class org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.AbstractResourceLoadStrategy |
---|
addedDynamicResource, loadedDynamicResource, loadEPackage, loadModel, returnEPackage, toString, useGeneratedResource |
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.LoadGeneratedPackageStrategy()
Method Detail |
---|
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
public void configure(@NonNull StandaloneProjectMap.IResourceLoadStatus resourceLoadStatus, @Nullable StandaloneProjectMap.IConflictHandler conflictHandler)
StandaloneProjectMap.IResourceLoadStrategy
configure
in interface StandaloneProjectMap.IResourceLoadStrategy
configure
in class StandaloneProjectMap.AbstractResourceLoadStrategy
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
@Nullable public org.eclipse.emf.ecore.EPackage getEPackage(@NonNull StandaloneProjectMap.IPackageLoadStatus packageLoadStatus)
StandaloneProjectMap.IResourceLoadStrategy
public void unloadedResource(@NonNull StandaloneProjectMap.IResourceLoadStatus packageLoadStatus)
StandaloneProjectMap.IResourceLoadStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |