/** * Create a new service container node. */ public ServiceContainerNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IServiceContainer container) { super(parent, model, tree); this.container = container; model.registerNode(this); }
/** * Create a new service container node. */ public ProvidedServiceInfoNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, ProvidedServiceInfo service, IServiceIdentifier sid, IExternalAccess ea) { super(parent, model, tree); this.service = service; this.sid = sid; this.ea = ea; // if(service==null || service.getType().getTypeName()==null) // System.out.println("service node: "+this); model.registerNode(this); }
/** * Create a new service container node. */ public RequiredServiceNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, RequiredServiceInfo info, String nid, IExternalAccess ea) { super(parent, model, tree); this.info = info; this.nid = nid; this.ea = ea; // if(service==null || service.getServiceIdentifier()==null) // System.out.println("service node: "+this); model.registerNode(this); }
/** * Create a new service container node. */ public RIDNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, IResourceIdentifier rid, IIconCache iconcache, INodeFactory factory) { super(parent, model, tree); this.rid = rid; this.iconcache = iconcache; // this.relative = FileNode.convertPathToRelative(file); this.factory = factory; model.registerNode(this); // System.out.println("node: "+getClass()+" "+desc.getName()); }
/** * Create a new service container node. */ public RemoteFileNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, FileData file, IIconCache iconcache, IExternalAccess exta) { super(parent, model, tree); assert file!=null; // System.out.println("node: "+getClass()+" "+desc.getName()); this.iconcache = iconcache; this.file = file; this.exta = exta; // this.relative = convertPathToRelative(file); model.registerNode(this); }
/** * Create a new service container node. */ public RootNode(AsyncSwingTreeModel model, JTree tree) { super(null, model, tree); // System.out.println("node: "+getClass()+" "+desc.getName()); this.children = new ArrayList(); model.registerNode(this); }
this.mi = mi; this.rinfo = rinfo; model.registerNode(this);
/** * Create a new service container node. */ public NFPropertyNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, INFPropertyMetaInfo propmi, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo) { super(parent, model, tree); this.ea = ea; this.propmi = propmi; this.sid = sid; this.mi = mi; this.rinfo = rinfo; model.registerNode(this); // PropertyUpdateHandler puh = (PropertyUpdateHandler)tree.getClientProperty(PropertyUpdateHandler.class); // if(puh!=null) // { // puh.addPropertyCommand(ea.getComponentIdentifier(), propmi.getName(), new ICommand<IMonitoringEvent>() // { // public void execute(IMonitoringEvent ev) // { // System.out.println("received: "+ev); // } // }); // } }
/** * Create a new service container node. */ public FileNode(ISwingTreeNode parent, AsyncSwingTreeModel model, JTree tree, File file, IIconCache iconcache) { super(parent, model, tree); // assert file!=null; // System.out.println("node: "+getClass()+" "+desc.getName()); this.iconcache = iconcache; this.file = file; this.relative = convertPathToRelative(file); model.registerNode(this); }
/** * 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()); } }