예제 #1
0
 internal ListsNode(WebNode parent)
 {
     this.parent = parent;
     lazyList    = new LazyLoadingList(LoadChildren);
     Children    = lazyList;
     parent.Lists.Advise(Notify);
 }
예제 #2
0
        internal WebsNode(WebNode parent)
        {
            this.parent = parent;
            sorter      = new ListView <Web, string, string>(JMapFactories.String,
                                                             delegate(Web web) { return(UriUtility.GetFileName(web.Url).ToLowerInvariant()); },
                                                             null,
                                                             delegate(Web web) { return(web.Title); },
                                                             String.Compare);

            lazyList = new LazyLoadingList(LoadChildren);
            Children = lazyList;
            parent.Webs.Advise(Notify);
        }
예제 #3
0
 internal WebNodeDragSource(WebNode web)
 {
     this.web = web;
 }
예제 #4
0
 public RootNode()
 {
     WebNode = new WebNode(this);
 }
예제 #5
0
 internal WebNodeDragTarget(DataTreeView treeView, WebNode webNode)
 {
     this.treeView = treeView;
     this.webNode  = webNode;
     canMove       = webNode.RootNode != null && !webNode.RootNode.IsCurrent;
 }