예제 #1
0
 private VirtualTreeNode AddFolderNode(Folder folder)
 {
     return(AddNode(folder.Name(), Images.GetIconFor(folder), false, folder));
 }
예제 #2
0
            private VirtualTreeNode AddVDINode(VDI vdi)
            {
                String name = String.IsNullOrEmpty(vdi.Name()) ? Messages.NO_NAME : vdi.Name();

                return(AddNode(name, Images.GetIconFor(vdi), false, vdi));
            }
예제 #3
0
 private VirtualTreeNode AddHostNode(Host host)
 {
     return(AddNode(host.Name(), Images.GetIconFor(host), false, host));
 }
예제 #4
0
 private VirtualTreeNode AddVmApplianceNode(VM_appliance appliance)
 {
     return(AddNode(appliance.Name(), Images.GetIconFor(appliance), false, appliance));
 }
예제 #5
0
 private VirtualTreeNode AddDockerContainerNode(DockerContainer cont)
 {
     return(AddNode(cont.Name().Ellipsise(1000), Images.GetIconFor(cont), cont.IsHidden(), cont));
 }
예제 #6
0
 private VirtualTreeNode AddPoolNode(Pool pool)
 {
     return(AddNode(Helpers.GetName(pool), Images.GetIconFor(pool), false, pool));
 }