public static final class StandaloneProjectMap.LoadFirstStrategy extends Object
Modifier and Type | Field and Description |
---|---|
static ProjectManager.IResourceLoadStrategy |
INSTANCE |
Constructor and Description |
---|
LoadFirstStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
addedDynamicResource(ProjectManager.IResourceLoadStatus resourceLoadStatus,
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,
EPackage ePackage)
Respond to the explicit addition of a generated EPackage in the user's ResourceSet.
|
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,
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,
Resource resource)
Respond to the explicit notification of a generated resource.
|
public static final ProjectManager.IResourceLoadStrategy INSTANCE
public void addedDynamicResource(ProjectManager.IResourceLoadStatus resourceLoadStatus, Resource resource)
ProjectManager.IResourceLoadStrategy
addedDynamicResource
in interface ProjectManager.IResourceLoadStrategy
public void addedGeneratedPackage(ProjectManager.IPackageLoadStatus packageLoadStatus, EPackage ePackage)
ProjectManager.IResourceLoadStrategy
addedGeneratedPackage
in interface ProjectManager.IResourceLoadStrategy
public EPackage getEPackage(ProjectManager.IPackageLoadStatus packageLoadStatus)
ProjectManager.IResourceLoadStrategy
public void handleConflictingDynamicResource(ProjectManager.IResourceLoadStatus resourceLoadStatus, EPackage ePackage)
ProjectManager.IResourceLoadStrategy
handleConflictingDynamicResource
in interface ProjectManager.IResourceLoadStrategy
public void unloadedResource(ProjectManager.IResourceLoadStatus packageLoadStatus)
ProjectManager.IResourceLoadStrategy
public void useGeneratedResource(ProjectManager.IResourceLoadStatus resourceLoadStatus, Resource resource)
ProjectManager.IResourceLoadStrategy
useGeneratedResource
in interface ProjectManager.IResourceLoadStrategy
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.