if (!selection.isEmpty() && selection instanceof IStructuredSelection) {
selectedConnections = new HashSet<AbstractNode>();
for (Object o : ((IStructuredSelection) selection).toList()) {
if (o instanceof AbstractNode) {
AbstractNode node = (AbstractNode) o;
viewer.reveal(node);
selectedConnections.add(node);
/*
AbstractNode output = (AbstractNode) o;
for (AbstractNode node : output.getOutputs()) {
viewer.reveal(node);