Class ECPModelContextAdapter

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal

    public class ECPModelContextAdapter
    extends org.eclipse.emf.common.notify.impl.AdapterImpl
    The ECPModelContextAdapter can be used to be able to get the ECPContainer from a Notifier.
    Author:
    Eike Stepper, Eugen Neufeld
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ECPContainer getContext()
      The ECPContainer of this Adapter.
      boolean isAdapterForType​(java.lang.Object type)  
      • Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl

        getTarget, notifyChanged, setTarget, unsetTarget
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ECPModelContextAdapter

        public ECPModelContextAdapter​(ECPContainer context)
        Constructor of this Adapter which expects an ECPContainer.
        Parameters:
        context - the ECPContainer of this adapter
    • Method Detail

      • isAdapterForType

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