// Being paranoid, we will still scan through all.
if (nextNode != node && nextNode.getDataMapNames().contains(map.getName())) {
nextNode.getDataMapNames().remove(map.getName());
// announce DataNode change
eventController.fireDataNodeEvent(new DataNodeEvent(this, nextNode));
}
}
// link to a selected node
if (node != null) {
node.getDataMapNames().add(map.getName());
// announce DataNode change
eventController.fireDataNodeEvent(new DataNodeEvent(this, node));
}
}