Beispiel #1
0
        public ListTemplateNode(WebNode webTreeNode, SPListTemplate template)
        {
            this.Tag         = template;
            this.SPParent    = webTreeNode.Web;
            this.WebTreeNode = webTreeNode;

            this.Setup();
        }
Beispiel #2
0
        public ListTemplateNode(WebNode webTreeNode, SPListTemplate template)
        {
            this.Tag = template;
            this.SPParent = webTreeNode.Web;
            this.WebTreeNode = webTreeNode;

            this.Setup();
        }
Beispiel #3
0
        public ListNode(WebNode webNode, SPList list)
        {
            this.Tag      = list;
            this.SPParent = list.ParentWeb;
            this.WebNode  = webNode;

            this.Setup();

            this.Nodes.Add(new ExplorerNodeBase("Dummy"));
        }
Beispiel #4
0
        public ListNode(WebNode webNode, SPList list)
        {
            this.Tag = list;
            this.SPParent = list.ParentWeb;
            this.WebNode = webNode;

            this.Setup();

            this.Nodes.Add(new ExplorerNodeBase("Dummy"));
        }
        public ListTemplateCollectionNode(WebNode webTreeNode, SPWeb web)
        {
            this.Text = SPMLocalization.GetString("ListTemplates_Text");
            this.ToolTipText = SPMLocalization.GetString("ListTemplates_ToolTip");
            this.Name = "ListTemplates";
            this.Tag = web.ListTemplates;
            this.SPParent = web;
            this.WebTreeNode = webTreeNode;

            int index = Program.Window.Explorer.AddImage(this.ImageUrl());
            this.ImageIndex = index;
            this.SelectedImageIndex = index;

            //this.ContextMenuStrip = SPMMenu.Strips.Refresh;
            if (web.Lists.Count > 0)
            {
                this.Nodes.Add(new ExplorerNodeBase("Dummy"));
            }
            else
            {
                this.HasChildrenLoaded = true;
            }
        }
        public ListTemplateCollectionNode(WebNode webTreeNode, SPWeb web)
        {
            this.Text        = SPMLocalization.GetString("ListTemplates_Text");
            this.ToolTipText = SPMLocalization.GetString("ListTemplates_ToolTip");
            this.Name        = "ListTemplates";
            this.Tag         = web.ListTemplates;
            this.SPParent    = web;
            this.WebTreeNode = webTreeNode;

            int index = Program.Window.Explorer.AddImage(this.ImageUrl());

            this.ImageIndex         = index;
            this.SelectedImageIndex = index;

            //this.ContextMenuStrip = SPMMenu.Strips.Refresh;
            if (web.Lists.Count > 0)
            {
                this.Nodes.Add(new ExplorerNodeBase("Dummy"));
            }
            else
            {
                this.HasChildrenLoaded = true;
            }
        }