getLogger().finest(
"Attaching ItemSetChangeListener to graph datasource");
ItemSetChangeNotifier isn = (ItemSetChangeNotifier) dataSource;
// Ensure we not already are listening to the events
isn.removeListener(dataSourceListener);
// Add listener
isn.addListener(dataSourceListener);
}
if (dataSource instanceof PropertySetChangeNotifier) {