public static interface ProjectManager.IResourceLoadStrategy
Modifier and Type | Method and Description |
---|---|
void |
addedDynamicResource(ProjectManager.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(ProjectManager.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 |
basicGetEPackage(ProjectManager.IPackageLoadStatus packageLoadStatus)
Return the EPackage in response to an EPackage.Registry access through an EPackageDescriptor, null if not loaded.
|
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 |
loadedDynamicResource(ProjectManager.IResourceLoadStatus packageLoadStatus,
org.eclipse.emf.ecore.resource.Resource resource)
Respond to the loading of a dynamic Ecore model in the user's ResourceSet.
|
void |
unloadedResource(ProjectManager.IResourceLoadStatus resourceLoadStatus)
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.
|
void addedDynamicResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
void addedGeneratedPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
@Nullable org.eclipse.emf.ecore.EPackage basicGetEPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus)
void configure(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @Nullable ProjectManager.IConflictHandler conflictHandler)
@Nullable org.eclipse.emf.ecore.EPackage getEPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus)
void handleConflictingDynamicResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
void loadedDynamicResource(@NonNull ProjectManager.IResourceLoadStatus packageLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
void unloadedResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus)
void useGeneratedResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)