@Override
public void handle(KongaTabbedPane source, int oldIndex, int newIndex) {
if (oldIndex == newIndex) {
return;
}
Editor toMove = editorsInTabPane.remove(oldIndex);
tabPane.removeTabAt(oldIndex);
focusRoots.remove(toMove);
addEditorToTabbedPane(toMove, newIndex);
tabPane.setSelectedIndex(newIndex);
}