public class URIChangeDetectorDelegateRegistry
extends java.lang.Object
IURIChangeDetectorDelegate
.Modifier and Type | Field and Description |
---|---|
static URIChangeDetectorDelegateRegistry |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
void |
addDelegate(java.lang.Class<? extends org.eclipse.emf.ecore.resource.Resource> resourceType,
IURIChangeDetectorDelegate uriChangeDetectorDelegate) |
IURIChangeDetectorDelegate |
getDetectorDelegate(java.lang.Class<? extends org.eclipse.emf.ecore.resource.Resource> resourceType)
Returns the contributed
URIChangeDetectorDelegate for the provided
resource Type if such one exists. |
IURIChangeDetectorDelegate |
getDetectorDelegate(org.eclipse.emf.ecore.resource.Resource resource)
Returns the contributed
URIChangeDetectorDelegate for the provided
resource if such one exists. |
void |
removeDelegate(IURIChangeDetectorDelegate delegate) |
public static URIChangeDetectorDelegateRegistry INSTANCE
public IURIChangeDetectorDelegate getDetectorDelegate(org.eclipse.emf.ecore.resource.Resource resource)
URIChangeDetectorDelegate
for the provided
resource
if such one exists.resource
- the resource
to retrieve URIChangeDetectorDelegate
for.URIChangeDetectorDelegate
contributed for the provided resource's
type
.public void removeDelegate(IURIChangeDetectorDelegate delegate)
public IURIChangeDetectorDelegate getDetectorDelegate(java.lang.Class<? extends org.eclipse.emf.ecore.resource.Resource> resourceType)
URIChangeDetectorDelegate
for the provided
resource Type
if such one exists.resourceType
- the resource Type
to retrieve URIChangeDetectorDelegate
for.URIChangeDetectorDelegate
contributed for the provided
resource Type
.public void addDelegate(java.lang.Class<? extends org.eclipse.emf.ecore.resource.Resource> resourceType, IURIChangeDetectorDelegate uriChangeDetectorDelegate)