Class DelegatingAdapterFactory<T>

    • Constructor Detail

      • DelegatingAdapterFactory

        protected DelegatingAdapterFactory​(org.eclipse.emf.ecore.EClass eClass,
                                           Class<T> type,
                                           ClassLoader proxyClassLoader)
        Parameters:
        type -
        proxyClassLoader - Proxy class loader, can be null if created adapter implements Adapter and no proxy is required.
    • Method Detail

      • isFactoryForType

        public boolean isFactoryForType​(Object type)
        Specified by:
        isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactory
        Overrides:
        isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      • doCreateAdapter

        protected abstract T doCreateAdapter​(org.eclipse.emf.common.notify.Notifier target)
        Creates adapter. This adapter does not have to implement Adapter. If it does not then a proxy will be created implementing both T and adapter.
        Parameters:
        target -
        Returns:
      • createAdapter

        protected org.eclipse.emf.common.notify.Adapter createAdapter​(org.eclipse.emf.common.notify.Notifier target)
        Overrides:
        createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl