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
  • Constructor Details

    • DelegateEPackageAdapter

      public DelegateEPackageAdapter()
    • DelegateEPackageAdapter

      public DelegateEPackageAdapter(Map<String,DelegateContext> contexts)
  • Method Details

    • getTarget

      public org.eclipse.emf.ecore.EPackage getTarget()
      Specified by:
      getTarget in interface org.eclipse.emf.common.notify.Adapter
      Overrides:
      getTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl
    • isAdapterForType

      public boolean isAdapterForType(Object type)
      Specified by:
      isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
      Overrides:
      isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl
    • setTarget

      public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
      Specified by:
      setTarget in interface org.eclipse.emf.common.notify.Adapter
      Overrides:
      setTarget in class org.eclipse.emf.common.notify.impl.AdapterImpl
    • delegateContext

      public DelegateContext delegateContext(String uri)
    • addDelegate

      public void addDelegate(String uri, Function<String,DelegateContext> factory)
    • unloadDelegates

      public void unloadDelegates()