public void setSelectionModel(MultipleSelectionModel<TreeItem<NavTreeNode>> selectionModel) {
this.treeSelectionModel = selectionModel;
treeSelectionModel.getSelectedItems().addListener((Observable observable) -> {
highlightedNodes.clear();
for (TreeItem<NavTreeNode> tn : treeSelectionModel.getSelectedItems()) {
<BUG>for (EventClusterNode n : chart.getNodes((EventClusterNode t)
-> t.getEvent().getDescription().equals(tn.getValue().getDescription()))) {
highlightedNodes.add(n);</BUG>
}
}

public void setSelectionModel(MultipleSelectionModel<TreeItem<NavTreeNode>> selectionModel) {
this.treeSelectionModel = selectionModel;
treeSelectionModel.getSelectedItems().addListener((Observable observable) -> {
highlightedNodes.clear();
for (TreeItem<NavTreeNode> tn : treeSelectionModel.getSelectedItems()) {
for (DetailViewNode<?> n : chart.getNodes((DetailViewNode<?> t)
-> t.getDescription().equals(tn.getValue().getDescription()))) {
highlightedNodes.add(n);
}
}
