List<String> removePaths = new ArrayList<String>();
NodePathParser pathParser = new NodePathParser();
if(paths != null) {
short selectType = PathConfirmDialog.YES;
for(String path : paths) {
NodePath nodePath = pathParser.toPath(path);
selectType = handler.traverseTree(tree, nodePath, path, style, selectType);
if(selectType == PathConfirmDialog.YES
|| selectType == PathConfirmDialog.YES_TO_ALL) {
removePaths.add(path);
}