|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.databinding.property.NativePropertyListener
public abstract class NativePropertyListener
Abstract INativePropertyListener implementation
| Constructor Summary | |
|---|---|
NativePropertyListener(IProperty property,
ISimplePropertyListener listener)
Constructs a NativePropertyListener with the specified arguments |
|
| Method Summary | |
|---|---|
void |
addTo(java.lang.Object source)
Adds the receiver as a listener for property events on the specified property source. |
protected abstract void |
doAddTo(java.lang.Object source)
|
protected abstract void |
doRemoveFrom(java.lang.Object source)
|
protected void |
fireChange(java.lang.Object source,
IDiff diff)
Notifies the listener that a property change occured on the source object. |
protected void |
fireStale(java.lang.Object source)
Notifies the listener that the property became stale on the source object. |
void |
removeFrom(java.lang.Object source)
Removes the receiver as a listener for property events on the specified property source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NativePropertyListener(IProperty property,
ISimplePropertyListener listener)
property - the property that this listener listens tolistener - the listener to receive property change notifications| Method Detail |
|---|
public final void addTo(java.lang.Object source)
INativePropertyListener
addTo in interface INativePropertyListenersource - the property source (may be null)protected abstract void doAddTo(java.lang.Object source)
public final void removeFrom(java.lang.Object source)
INativePropertyListener
removeFrom in interface INativePropertyListenersource - the property source (may be null)protected abstract void doRemoveFrom(java.lang.Object source)
protected void fireChange(java.lang.Object source,
IDiff diff)
source - the source object whose property changeddiff - a diff describing the change in stateprotected void fireStale(java.lang.Object source)
source - the source object whose property became stale
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.