private void buildPkgTree(TreeNode root, PackageHierarchy.Folder fldr) {
if (fldr.conf != null) {
root.appendChild(loadPackage(fldr.name, fldr.conf));
} else {
TreeNode tn = new TreeNode();
tn.setText(fldr.name);
tn.setIcon("images/empty_package.gif"); //NON-NLS
root.appendChild(tn);
for (PackageHierarchy.Folder c : fldr.children) {
buildPkgTree(tn, c);
}
}