return FileUtil.toFile(root).getAbsolutePath();
} catch (Exception e) {
return null;
}
}
<BUG>public static String getFileFromSelectedNode(){
</BUG>
TopComponent topActive = TopComponent.getRegistry().getActivated();
Node[]nodes  = topActive.getActivatedNodes();
if(nodes.length==1){

return FileUtil.toFile(root).getAbsolutePath();
} catch (Exception e) {
return null;
}
}
public static String getFileFromSelectedNode(boolean isFolder){
TopComponent topActive = TopComponent.getRegistry().getActivated();
Node[]nodes  = topActive.getActivatedNodes();
if(nodes.length==1){
