use of org.eclipse.nebula.widgets.nattable.layer.event.PropertyUpdateEvent in project nebula.widgets.nattable by eclipse.
the class BlinkLayerTest method getPropertyChangeListener.
/**
* Listen for updates and put them in the {@link UpdateEventsCache}.
* BlinkLayer needs this cache to be updated in order to work.
*/
private PropertyChangeListener getPropertyChangeListener() {
return new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent event) {
PropertyUpdateEvent<BlinkingRowDataFixture> updateEvent = new PropertyUpdateEvent<BlinkingRowDataFixture>(new DataLayerFixture(), (BlinkingRowDataFixture) event.getSource(), event.getPropertyName(), event.getOldValue(), event.getNewValue());
BlinkLayerTest.this.layerUnderTest.handleLayerEvent(updateEvent);
}
};
}
Aggregations