// Ensure we not already are listening to the events
pscn.removeListener(dataSourceListener);
// Add listener
pscn.addListener(dataSourceListener);
}
if (dataSource instanceof ValueChangeNotifier) {
getLogger().finest(
"Attaching ValueChangeListener to graph datasource");
ValueChangeNotifier vcn = (ValueChangeNotifier) dataSource;