return reader;
}
private void applyImportedData(Transformation tf, List<String> mappings, Map<String, String> multipleFolders)
throws TreeMapperException {
TreeMapper tm = getTreeMapper(tf);
if (tm == null) {
return;
}
if (mappings != null) {
tm.setMapList(mappings, true);
tm.updateHiddenNodesOnMapChange();
}
if (multipleFolders != null) {
tm.setRenamedTargetNodes(multipleFolders);
// TODO: Make this undoable when we have full support for undo/redo
// with regards to adding/removing multiple mappings folders.
tm.setDirty(true, false);
}
}