ImportOperation op = new ImportOperation(target.getFullPath(), stores[0].getParent(),
FileStoreStructureProvider.INSTANCE, query, Arrays.asList(stores));
op.setContext(messageShell);
op.setCreateContainerStructure(false);
try {
op.run(monitor);
} catch (InterruptedException e) {
return;
} catch (InvocationTargetException e) {
if (e.getTargetException() instanceof CoreException) {
displayError(((CoreException) e.getTargetException()).getStatus());