Class DelegateEPackageAdapter
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.epsilon.ecore.delegates.notify.DelegateEPackageAdapter
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter
,org.eclipse.emf.common.notify.Adapter.Internal
public class DelegateEPackageAdapter
extends org.eclipse.emf.common.notify.impl.AdapterImpl
DelegateEPackageAdapter extends an EPackage to cache its DelegateDomain
that supervises installation of Epsilon annotations in ECore metamodel.
- Since:
- 2.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
-
Field Summary
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDelegate
(String uri, Function<String, DelegateContext> factory) delegateContext
(String uri) org.eclipse.emf.ecore.EPackage
boolean
isAdapterForType
(Object type) void
setTarget
(org.eclipse.emf.common.notify.Notifier newTarget) void
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, unsetTarget
-
Constructor Details
-
DelegateEPackageAdapter
public DelegateEPackageAdapter() -
DelegateEPackageAdapter
-
-
Method Details
-
getTarget
public org.eclipse.emf.ecore.EPackage getTarget()- Specified by:
getTarget
in interfaceorg.eclipse.emf.common.notify.Adapter
- Overrides:
getTarget
in classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
isAdapterForType
- Specified by:
isAdapterForType
in interfaceorg.eclipse.emf.common.notify.Adapter
- Overrides:
isAdapterForType
in classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
setTarget
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget) - Specified by:
setTarget
in interfaceorg.eclipse.emf.common.notify.Adapter
- Overrides:
setTarget
in classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
delegateContext
-
addDelegate
-
unloadDelegates
public void unloadDelegates()
-