|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterImpl
public class AdapterImpl
An extensible adapter implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
Adapter.Internal |
| Field Summary | |
|---|---|
protected Notifier |
target
The last notifier set to this adapter. |
| Constructor Summary | |
|---|---|
AdapterImpl()
Creates an instance. |
|
| Method Summary | |
|---|---|
Notifier |
getTarget()
Returns the target from which the adapter receives notification. |
boolean |
isAdapterForType(java.lang.Object type)
Returns false |
void |
notifyChanged(Notification msg)
Does nothing; clients may override so that it does something. |
void |
setTarget(Notifier newTarget)
Sets the target from which the adapter will receive notification. |
void |
unsetTarget(Notifier oldTarget)
Unsets the target from which the adapter will receive notification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Notifier target
| Constructor Detail |
|---|
public AdapterImpl()
| Method Detail |
|---|
public boolean isAdapterForType(java.lang.Object type)
false
isAdapterForType in interface Adaptertype - the type.
falseAdapterFactory.isFactoryForType(java.lang.Object)public void notifyChanged(Notification msg)
notifyChanged in interface Adaptermsg - a description of the change.public Notifier getTarget()
Adapter
getTarget in interface AdapterAdapter.setTarget(org.eclipse.emf.common.notify.Notifier)public void setTarget(Notifier newTarget)
Adapter
setTarget in interface AdapternewTarget - the new notifier.Adapter.getTarget()public void unsetTarget(Notifier oldTarget)
Adapter.Internal
unsetTarget in interface Adapter.InternaloldTarget - the old notifier.Adapter.getTarget(),
Adapter.setTarget(Notifier)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||