protected abstract static class StandaloneProjectMap.AbstractResourceLoadStrategy extends java.lang.Object implements ProjectManager.IResourceLoadStrategy
Modifier | Constructor and Description |
---|---|
protected |
AbstractResourceLoadStrategy() |
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.
|
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.
|
protected org.eclipse.emf.ecore.EPackage |
loadEPackage(ProjectManager.IPackageLoadStatus packageLoadStatus,
boolean configureURImap) |
protected org.eclipse.emf.ecore.EPackage |
loadModel(ProjectManager.IPackageLoadStatus packageLoadStatus) |
protected org.eclipse.emf.ecore.EPackage |
returnEPackage(ProjectManager.IPackageLoadStatus packageLoadStatus,
org.eclipse.emf.ecore.EPackage ePackage) |
java.lang.String |
toString() |
void |
useGeneratedResource(ProjectManager.IResourceLoadStatus resourceLoadStatus,
org.eclipse.emf.ecore.resource.Resource resource)
Respond to the explicit notification of a generated resource.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEPackage, unloadedResource
public void addedDynamicResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
ProjectManager.IResourceLoadStrategy
addedDynamicResource
in interface ProjectManager.IResourceLoadStrategy
public void addedGeneratedPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
ProjectManager.IResourceLoadStrategy
addedGeneratedPackage
in interface ProjectManager.IResourceLoadStrategy
@Nullable public org.eclipse.emf.ecore.EPackage basicGetEPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus)
ProjectManager.IResourceLoadStrategy
basicGetEPackage
in interface ProjectManager.IResourceLoadStrategy
public void configure(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @Nullable ProjectManager.IConflictHandler conflictHandler)
ProjectManager.IResourceLoadStrategy
configure
in interface ProjectManager.IResourceLoadStrategy
public void handleConflictingDynamicResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.EPackage ePackage)
ProjectManager.IResourceLoadStrategy
handleConflictingDynamicResource
in interface ProjectManager.IResourceLoadStrategy
@Nullable protected org.eclipse.emf.ecore.EPackage loadEPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus, boolean configureURImap)
@Nullable protected org.eclipse.emf.ecore.EPackage loadModel(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus)
public void loadedDynamicResource(@NonNull ProjectManager.IResourceLoadStatus packageLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
ProjectManager.IResourceLoadStrategy
loadedDynamicResource
in interface ProjectManager.IResourceLoadStrategy
public java.lang.String toString()
toString
in class java.lang.Object
@Nullable protected org.eclipse.emf.ecore.EPackage returnEPackage(@NonNull ProjectManager.IPackageLoadStatus packageLoadStatus, @Nullable org.eclipse.emf.ecore.EPackage ePackage)
public void useGeneratedResource(@NonNull ProjectManager.IResourceLoadStatus resourceLoadStatus, @NonNull org.eclipse.emf.ecore.resource.Resource resource)
ProjectManager.IResourceLoadStrategy
useGeneratedResource
in interface ProjectManager.IResourceLoadStrategy