Пример #1
0
        public PublishedTree()
        {
            Id = EyePatchApplication.SiteID + "EyePatchBlogPublishedTree";
            Remember = true;
            Defaults = new PublishedTreeDefaults();

            ContextMenu = new ContextMenuGroup("ep.blog.buildPostTreeContext");
            ContextMenu.CssClass = "eyepatch-admin-context";
            ContextMenu.ContextMenus.Add(new PostContextMenu());
        }
Пример #2
0
        public MediaTree()
        {
            Id = EyePatchApplication.SiteID + "EyePatchMeidaTree";
            Remember = true;

            Defaults = new MediatTreeDefaults();

            ContextMenu = new ContextMenuGroup("ep.buildMediaTreeContext");
            ContextMenu.CssClass = "eyepatch-admin-context";
            ContextMenu.ContextMenus.Add(new MediaFolderContextMenu());
        }
Пример #3
0
        public PageTree(Folder root)
        {
            Id = EyePatchApplication.SiteID + "EyePatchPageTree";
            Remember = true;
            Defaults = new PageTreeDefaults();

            ContextMenu = new ContextMenuGroup("ep.buildPageTreeContext");
            ContextMenu.CssClass = "eyepatch-admin-context";
            ContextMenu.ContextMenus.Add(new FolderContextMenu());
            ContextMenu.ContextMenus.Add(new PageContextMenu());

            Children.Add(new FolderNode(root));
        }