@Override
public void actionPerformed(ActionEvent e) {
if (!movingNodesSupported) {
return;
}
Selection selection = getSelection();
if (selection.isEmpty()) {
return;
}
for (Object node : selection.items()) {
getLayout().moveBy(node, delta);
}
layoutEditSender.newEdit();
}