|
|
@ -17,6 +17,7 @@ import javax.swing.text.Position; |
|
|
|
import javax.swing.tree.DefaultTreeModel; |
|
|
|
import javax.swing.tree.DefaultTreeModel; |
|
|
|
import javax.swing.tree.TreePath; |
|
|
|
import javax.swing.tree.TreePath; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.HashSet; |
|
|
|
import java.util.HashSet; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Set; |
|
|
|
import java.util.Set; |
|
|
@ -228,6 +229,7 @@ public class TemplateFileTree extends EnvFileTree { |
|
|
|
if (fileNodes == null) { |
|
|
|
if (fileNodes == null) { |
|
|
|
fileNodes = new FileNode[0]; |
|
|
|
fileNodes = new FileNode[0]; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Arrays.sort(fileNodes, new FileNodeComparator(FRContext.getFileNodes().getSupportedTypes())); |
|
|
|
|
|
|
|
|
|
|
|
return fileNodes; |
|
|
|
return fileNodes; |
|
|
|
} |
|
|
|
} |
|
|
|