org.eclipse.ocl.examples.domain.utilities
Class StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.AbstractResourceLoadStrategy
      extended by org.eclipse.ocl.examples.domain.utilities.StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy
All Implemented Interfaces:
StandaloneProjectMap.IResourceLoadStrategy
Enclosing class:
StandaloneProjectMap

public static final class StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy
extends StandaloneProjectMap.AbstractResourceLoadStrategy

The LoadingBothLoadedDynamicResourceStrategy supports the using-model behaviour following a LoadBothStrategy that has loaded a dynamic resource.


Field Summary
static StandaloneProjectMap.IResourceLoadStrategy INSTANCE
           
 
Constructor Summary
StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy()
           
 
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.
 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 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, configure, handleConflictingDynamicResource, 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

INSTANCE

@NonNull
public static final StandaloneProjectMap.IResourceLoadStrategy INSTANCE
Constructor Detail

StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy

public StandaloneProjectMap.LoadingBothLoadedDynamicResourceStrategy()
Method Detail

addedGeneratedPackage

public void addedGeneratedPackage(@NonNull
                                  StandaloneProjectMap.IPackageLoadStatus packageLoadStatus,
                                  @NonNull
                                  org.eclipse.emf.ecore.EPackage ePackage)
Description copied from interface: StandaloneProjectMap.IResourceLoadStrategy
Respond to the explicit addition of a generated EPackage in the user's ResourceSet.

Specified by:
addedGeneratedPackage in interface StandaloneProjectMap.IResourceLoadStrategy
Overrides:
addedGeneratedPackage in class StandaloneProjectMap.AbstractResourceLoadStrategy

getEPackage

@Nullable
public org.eclipse.emf.ecore.EPackage getEPackage(@NonNull
                                                           StandaloneProjectMap.IPackageLoadStatus packageLoadStatus)
Description copied from interface: StandaloneProjectMap.IResourceLoadStrategy
Load and return the EPackage in response to an EPackage.Registry access through an EPackageDescriptor.


unloadedResource

public void unloadedResource(@NonNull
                             StandaloneProjectMap.IResourceLoadStatus packageLoadStatus)
Description copied from interface: StandaloneProjectMap.IResourceLoadStrategy
Respond to the notification that the resource has been unloaded.