IResource[] resources = getResources(elements);
ReorgMoveAction action = new ReorgMoveAction();
action.init(PlatformUI.getWorkbench().getActiveWorkbenchWindow());
StructuredSelection selection = new StructuredSelection(resources);
action.selectionChanged(null, selection);
Object targetContainer = target;
if (targetContainer instanceof IModelElement) {
targetContainer = getResource((IModelElement) target);
}