Package org.eclipse.emf.ecp.core.util
Class ECPModelContextAdapter
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.eclipse.emf.ecp.core.util.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
TheECPModelContextAdapter
can be used to be able to get theECPContainer
from a Notifier.- Author:
- Eike Stepper, Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ECPModelContextAdapter(ECPContainer context)
Constructor of this Adapter which expects anECPContainer
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPContainer
getContext()
TheECPContainer
of this Adapter.boolean
isAdapterForType(java.lang.Object type)
-
-
-
Constructor Detail
-
ECPModelContextAdapter
public ECPModelContextAdapter(ECPContainer context)
Constructor of this Adapter which expects anECPContainer
.- Parameters:
context
- theECPContainer
of this adapter
-
-
Method Detail
-
getContext
public final ECPContainer getContext()
TheECPContainer
of this Adapter.- Returns:
- the
ECPContainer
-
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- Specified by:
isAdapterForType
in interfaceorg.eclipse.emf.common.notify.Adapter
- Overrides:
isAdapterForType
in classorg.eclipse.emf.common.notify.impl.AdapterImpl
-
-