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
The ECPModelContextAdapter
can be used to be able to get the ECPContainer
from a Notifier.
- Author:
- Eike Stepper, Eugen Neufeld
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
getTarget, notifyChanged, setTarget, unsetTarget |
ECPModelContextAdapter
public ECPModelContextAdapter(ECPContainer context)
- Constructor of this Adapter which expects an
ECPContainer
.
- Parameters:
context
- the ECPContainer
of this adapter
getContext
public final ECPContainer getContext()
- The
ECPContainer
of this Adapter.
- Returns:
- the
ECPContainer
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
Copyright © 2014. All Rights Reserved.