public static final class StandaloneProjectMap.LoadGeneratedPackageStrategy extends StandaloneProjectMap.AbstractResourceLoadStrategy
| Modifier and Type | Field and Description |
|---|---|
static ProjectManager.IResourceLoadStrategy |
INSTANCE |
| Constructor and Description |
|---|
LoadGeneratedPackageStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addedGeneratedPackage(ProjectManager.IPackageLoadStatus packageLoadStatus,
org.eclipse.emf.ecore.EPackage ePackage)
Respond to the explicit addition of a generated EPackage in the user's ResourceSet.
|
void |
configure(ProjectManager.IResourceLoadStatus resourceLoadStatus,
ProjectManager.IConflictHandler conflictHandler)
Configure the resourceLoadStatus to udse this strategy and a conflictHandler.
|
org.eclipse.emf.ecore.EPackage |
getEPackage(ProjectManager.IPackageLoadStatus packageLoadStatus)
Load and return the EPackage in response to an EPackage.Registry access through an EPackageDescriptor.
|
void |
handleConflictingDynamicResource(ProjectManager.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(ProjectManager.IResourceLoadStatus packageLoadStatus)
Respond to the notification that the resource has been unloaded.
|
void |
useGeneratedResource(ProjectManager.IResourceLoadStatus resourceLoadStatus,
org.eclipse.emf.ecore.resource.Resource resource)
Respond to the explicit notification of a generated resource.
|
addedDynamicResource, basicGetEPackage, loadedDynamicResource, loadEPackage, loadModel, returnEPackage, toString@NonNull public static final ProjectManager.IResourceLoadStrategy INSTANCE
public void addedGeneratedPackage(@NonNull
ProjectManager.IPackageLoadStatus packageLoadStatus,
@NonNull
org.eclipse.emf.ecore.EPackage ePackage)
ProjectManager.IResourceLoadStrategyaddedGeneratedPackage in interface ProjectManager.IResourceLoadStrategyaddedGeneratedPackage in class StandaloneProjectMap.AbstractResourceLoadStrategypublic void configure(@NonNull
ProjectManager.IResourceLoadStatus resourceLoadStatus,
@Nullable
ProjectManager.IConflictHandler conflictHandler)
ProjectManager.IResourceLoadStrategyconfigure in interface ProjectManager.IResourceLoadStrategyconfigure in class StandaloneProjectMap.AbstractResourceLoadStrategypublic void handleConflictingDynamicResource(@NonNull
ProjectManager.IResourceLoadStatus resourceLoadStatus,
@NonNull
org.eclipse.emf.ecore.EPackage ePackage)
ProjectManager.IResourceLoadStrategyhandleConflictingDynamicResource in interface ProjectManager.IResourceLoadStrategyhandleConflictingDynamicResource in class StandaloneProjectMap.AbstractResourceLoadStrategy@Nullable
public org.eclipse.emf.ecore.EPackage getEPackage(@NonNull
ProjectManager.IPackageLoadStatus packageLoadStatus)
ProjectManager.IResourceLoadStrategypublic void unloadedResource(@NonNull
ProjectManager.IResourceLoadStatus packageLoadStatus)
ProjectManager.IResourceLoadStrategypublic void useGeneratedResource(@NonNull
ProjectManager.IResourceLoadStatus resourceLoadStatus,
@NonNull
org.eclipse.emf.ecore.resource.Resource resource)
ProjectManager.IResourceLoadStrategyuseGeneratedResource in interface ProjectManager.IResourceLoadStrategyuseGeneratedResource in class StandaloneProjectMap.AbstractResourceLoadStrategy