|
Modelers | |||||||||
| 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
org.topcased.modeler.listeners.UIAdapterImpl
org.topcased.modeler.listeners.DiagramElementListener
public abstract class DiagramElementListener
Domain specific listener for DiagramElement.
Listens the DiagramElement and its contained Properties.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
|---|
Adapter.Internal |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
target |
| Constructor Summary | |
|---|---|
DiagramElementListener()
|
|
| Method Summary | |
|---|---|
void |
activate(EObject listenObject)
Install the listener on the given object and on some children |
void |
deactivate(EObject listenObject)
Remove the listener on the given object and on some children |
protected void |
handlePropertyChanged(Property modifiedProperty)
Deprecated. Use the method handlePropertyChanged(Property, Property) instead |
protected void |
handlePropertyChanged(Property oldProperty,
Property newProperty)
|
protected abstract void |
handleVisibilityChanged()
|
protected void |
safeNotifyChanged(Notification msg)
This method is called when an event occured on the model objects. This method is always called in the Ui thread |
protected void |
updateEObjectListening(java.lang.Object oldValue,
java.lang.Object newValue)
This method updates the listening on added or removed objects |
| Methods inherited from class org.topcased.modeler.listeners.UIAdapterImpl |
|---|
notifyChanged |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
|---|
getTarget, isAdapterForType, setTarget, unsetTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramElementListener()
| Method Detail |
|---|
public void activate(EObject listenObject)
listenObject - the object to listenpublic void deactivate(EObject listenObject)
listenObject - the object to unlisten
protected void updateEObjectListening(java.lang.Object oldValue,
java.lang.Object newValue)
oldValue - the old ObjectnewValue - the new Objectprotected void safeNotifyChanged(Notification msg)
UIAdapterImpl
safeNotifyChanged in class UIAdapterImplmsg - the event notificationUIAdapterImpl.safeNotifyChanged(org.eclipse.emf.common.notify.Notification)protected abstract void handleVisibilityChanged()
protected void handlePropertyChanged(Property modifiedProperty)
modifiedProperty -
protected void handlePropertyChanged(Property oldProperty,
Property newProperty)
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.