/** * Create a new service container node. */ public ComponentTreeNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IComponentDescription desc, IComponentManagementService cms, ComponentIconCache iconcache, IExternalAccess access) { super(parent, model, tree); assert desc!=null; // System.out.println("node: "+getClass()+" "+desc.getName()+" "+desc.getType()); this.desc = desc; this.cms = cms; this.iconcache = iconcache; this.access = access; model.registerNode(this); // Add CMS listener for platform node. if(parent==null) { addCMSListener(desc.getName()); } }