Eclipse Platform
Release 3.6

org.eclipse.core.databinding.property
Interface INativePropertyListener

All Known Implementing Classes:
NativePropertyListener

public interface INativePropertyListener

A listener capable of adding or removing itself as a listener on a source object using the source's "native" listener API. Events received from the source objects are parlayed to the ISimplePropertyListener provided to the method that constructed this native listener instance.

Since:
1.2
See Also:
NativePropertyListener, SimpleValueProperty.adaptListener(ISimplePropertyListener), SimpleListProperty.adaptListener(ISimplePropertyListener), SimpleSetProperty.adaptListener(ISimplePropertyListener), SimpleMapProperty.adaptListener(ISimplePropertyListener)

Method Summary
 void addTo(Object source)
          Adds the receiver as a listener for property events on the specified property source.
 void removeFrom(Object source)
          Removes the receiver as a listener for property events on the specified property source.
 

Method Detail

addTo

void addTo(Object source)
Adds the receiver as a listener for property events on the specified property source.

Parameters:
source - the property source (may be null)
Restriction:
This method is not intended to be referenced by clients.

removeFrom

void removeFrom(Object source)
Removes the receiver as a listener for property events on the specified property source.

Parameters:
source - the property source (may be null)
Restriction:
This method is not intended to be referenced by clients.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.