org.eclipse.gmt.umlx.ecore
Class AbstractAdapter
java.lang.Object
org.eclipse.gmt.umlx.ecore.AbstractAdapter
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter
- Direct Known Subclasses:
- ModelChangeAdapter, ResourceAdapter
public abstract class AbstractAdapter
- extends java.lang.Object
- implements org.eclipse.emf.common.notify.Adapter
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
Method Summary |
void |
dispose()
|
org.eclipse.emf.common.notify.Notifier |
getTarget()
|
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification)
|
static void |
registerPackageClass(java.lang.Class<? extends org.eclipse.emf.ecore.EPackage> packageClass)
Install the features of packageClass so that they can be translated to
a sensible textual form in notoification diagnostics. |
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.Adapter |
isAdapterForType |
dispose
public void dispose()
getTarget
public org.eclipse.emf.common.notify.Notifier getTarget()
- Specified by:
getTarget
in interface org.eclipse.emf.common.notify.Adapter
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged
in interface org.eclipse.emf.common.notify.Adapter
registerPackageClass
public static void registerPackageClass(java.lang.Class<? extends org.eclipse.emf.ecore.EPackage> packageClass)
- Install the features of packageClass so that they can be translated to
a sensible textual form in notoification diagnostics.
- Parameters:
packageClass
- Ecore package class to install
setTarget
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
- Specified by:
setTarget
in interface org.eclipse.emf.common.notify.Adapter
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object