SectionNode sNode = (SectionNode) Factory.lookup("org.jboss.dashboard.ui.config.treeNodes.SectionNode");
sNode.setTree(getTree());
sNode.setParent(this);
sNode.setWorkspaceId(section.getWorkspace().getId());
sNode.setSectionId(section.getId());
SectionPermission editSectionPerm = SectionPermission.newInstance(section, SectionPermission.ACTION_EDIT);
sNode.setExpandible(true);
sNode.setEditable(UserStatus.lookup().hasPermission(editSectionPerm));
return sNode;
}