|
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(Object source)
Adds the receiver as a listener for property events on the specified property source. |
protected abstract void |
doAddTo(Object source)
|
protected abstract void |
doRemoveFrom(Object source)
|
protected void |
fireChange(Object source,
IDiff diff)
Notifies the listener that a property change occured on the source object. |
protected void |
fireStale(Object source)
Notifies the listener that the property became stale on the source object. |
void |
removeFrom(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 notificationsMethod Detail |
---|
public final void addTo(Object source)
INativePropertyListener
addTo
in interface INativePropertyListener
source
- the property source (may be null)protected abstract void doAddTo(Object source)
public final void removeFrom(Object source)
INativePropertyListener
removeFrom
in interface INativePropertyListener
source
- the property source (may be null)protected abstract void doRemoveFrom(Object source)
protected void fireChange(Object source, IDiff diff)
source
- the source object whose property changeddiff
- a diff describing the change in stateprotected void fireStale(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.