// rebuild kalendar event links
// we do not use the tree event's getSelectedNodeIDs, instead
// we walk through the model and fetch the children in order
// to keep the sorting.
List kalendarEventLinks = kalendarEvent.getKalendarEventLinks();
TreeNode rootNode = selectionTree.getTreeModel().getRootNode();
kalendarEventLinks.clear();
clearSelection(rootNode);
rebuildKalendarEventLinks(rootNode, te.getNodeIds(), kalendarEventLinks);
// if the calendarevent is already associated with a calendar, save the modifications.
// otherwise, the modifications will be saver, when the user saves