OeffneKundendatensatzSelectionInOut newSelection = getSelection();
newSelection.setKundenname(selection.getKundenname());
newSelection.setKundennummer(selection.getKundennummer());
// TODO: actioncall to generate the new table
KundenFindenAction action = getActionConfiguration().getKundenFindenAction();
KundenFindenActionSelectionIn in = new KundenFindenActionSelectionIn();
in.setKundenname(selection.getKundenname());
in.setKundennummer(selection.getKundennummer());
action.setInSelection(in);
//do actioncall
try {
action.performAction(null);
newSelection.setKunden(action.getOutSelection().getKunden());
newSelection.setSelektierterKunde(null);
} catch (InvocationTargetException e) {
//logging
}
setSelection(newSelection);