|
|
@ -17,6 +17,7 @@ import com.fr.file.filetree.IOFileNodeFilter; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.general.IOUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.CoreConstants; |
|
|
|
import com.fr.stable.CoreConstants; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
|
import com.fr.stable.project.ProjectConstants; |
|
|
@ -377,7 +378,7 @@ public class TemplateTreePane extends JPanel implements FileOperations { |
|
|
|
|
|
|
|
|
|
|
|
TreePath[] selectedTreePaths = reportletsTree.getSelectionPaths(); |
|
|
|
TreePath[] selectedTreePaths = reportletsTree.getSelectionPaths(); |
|
|
|
|
|
|
|
|
|
|
|
if (selectedTreePaths == null || selectedTreePaths.length == 0) { |
|
|
|
if (selectedTreePaths == null || ArrayUtils.isEmpty(selectedTreePaths)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
// 选中的是文件夹
|
|
|
|
// 选中的是文件夹
|
|
|
|