|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.ocl.examples.pivot.delegate.DelegateEPackageAdapter
public class DelegateEPackageAdapter
DelegateEPackageAdapter extends an EPackage to cache its DelegateDomain that supervises installation of OCL annotations from an OCL document.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
org.eclipse.emf.common.notify.Adapter.Internal |
| Field Summary | |
|---|---|
protected java.util.Map<java.lang.String,DelegateDomain> |
delegateDomainMap
The map from delegateURI to known DelegateDomain. |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
target |
| Constructor Summary | |
|---|---|
DelegateEPackageAdapter()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
notifyChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<java.lang.String,DelegateDomain> delegateDomainMap
getDelegateDomain(java.lang.String).
| Constructor Detail |
|---|
public DelegateEPackageAdapter()
| Method Detail |
|---|
@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.AdaptergetTarget in class org.eclipse.emf.common.notify.impl.AdapterImplpublic boolean isAdapterForType(java.lang.Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterisAdapterForType 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.AdaptersetTarget in class org.eclipse.emf.common.notify.impl.AdapterImplpublic void unloadDelegates()
public void unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget)
unsetTarget in interface org.eclipse.emf.common.notify.Adapter.InternalunsetTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||