public class DelegateEPackageAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,DelegateDomain> |
delegateDomainMap
The map from delegateURI to known DelegateDomain.
|
Constructor and Description |
---|
DelegateEPackageAdapter() |
Modifier and Type | Method and Description |
---|---|
protected DelegateDomain |
createDelegateDomain(java.lang.String delegateURI) |
static DelegateEPackageAdapter |
findAdapter(org.eclipse.emf.ecore.EPackage ePackage)
Return the DelegateEPackageAdapter for ePackage, if there is one, or null if none.
|
static DelegateEPackageAdapter |
getAdapter(org.eclipse.emf.ecore.EPackage ePackage)
Return the DelegateEPackageAdapter for ePackage, creating
one if necessary.
|
java.util.Collection<DelegateDomain> |
getAllDelegateDomains()
Return all registered delegate domains.
|
DelegateDomain |
getDelegateDomain(java.lang.String delegateURI)
Return the DelegateDomain for this package and for delegateURI, returning null it does not exist.
|
java.util.Map<java.lang.String,DelegateDomain> |
getDelegateDomains() |
org.eclipse.emf.ecore.EPackage |
getTarget() |
boolean |
isAdapterForType(java.lang.Object type) |
DelegateDomain |
loadDelegateDomain(java.lang.String delegateURI)
Return the DelegateDomain for this package and for delegateURI, creating one if it does not already exist.
|
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget) |
void |
unloadDelegates() |
void |
unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget) |
protected java.util.Map<java.lang.String,DelegateDomain> delegateDomainMap
getDelegateDomain(java.lang.String)
.@Nullable public static DelegateEPackageAdapter findAdapter(@NonNull org.eclipse.emf.ecore.EPackage ePackage)
@NonNull public static DelegateEPackageAdapter getAdapter(@NonNull org.eclipse.emf.ecore.EPackage ePackage)
@NonNull protected DelegateDomain createDelegateDomain(@NonNull java.lang.String delegateURI)
@NonNull public java.util.Collection<DelegateDomain> getAllDelegateDomains()
@Nullable public DelegateDomain getDelegateDomain(@NonNull java.lang.String delegateURI)
@NonNull public java.util.Map<java.lang.String,DelegateDomain> getDelegateDomains()
public org.eclipse.emf.ecore.EPackage getTarget()
getTarget
in interface org.eclipse.emf.common.notify.Adapter
getTarget
in class org.eclipse.emf.common.notify.impl.AdapterImpl
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
@NonNull public DelegateDomain loadDelegateDomain(@NonNull java.lang.String delegateURI)
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
setTarget
in interface org.eclipse.emf.common.notify.Adapter
setTarget
in class org.eclipse.emf.common.notify.impl.AdapterImpl
public void unloadDelegates()
public void unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget)
unsetTarget
in interface org.eclipse.emf.common.notify.Adapter.Internal
unsetTarget
in class org.eclipse.emf.common.notify.impl.AdapterImpl