DefaultMutableTreeNode treeNode = (DefaultMutableTreeNode) outline
.getValueAt(index, 0);
ProfileResourceNode prn = (ProfileResourceNode) treeNode
.getUserObject();
if (profile.removeResource(prn.getUri())) {
treeMdl.removeNodeFromParent(treeNode);
}
}
profileManager.updateProfileSpec(