= (AbstractDocument) node.getOwnerDocument();
XBLManager xm = doc.getXBLManager();
if (xm instanceof DefaultXBLManager) {
DefaultMutableTreeNode selectedContentNode
= new DefaultMutableTreeNode(new ContentNodeInfo(node));
DefaultXBLManager dxm = (DefaultXBLManager) xm;
ContentManager cm = dxm.getContentManager(node);
if (cm != null) {
NodeList nl
= cm.getSelectedContent((XBLOMContentElement) node);
for (int i = 0; i < nl.getLength(); i++) {
selectedContentNode.add(createTree(nl.item(i),