Beispiel #1
0
 public TagCloudPortlet()
 {
     IncludeChildren = false;
     Name            = "$TagCloudPortlet:PortletDisplayName";
     Description     = "$TagCloudPortlet:PortletDescription";
     Category        = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #2
0
 public TagCloudPortlet()
 {
     IncludeChildren = false;
     Name            = "Tag cloud";
     Description     = "Portlet for rendering a tag cloud";
     Category        = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #3
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TagAdminPortlet()
 {
     Name        = "Tag admin";
     Description = "Portlet for administrating tags";
     Category    = new PortletCategory(PortletCategoryType.Application);
     Tags        = "/Root/System/Tags";
     UITools.AddStyleSheetToHeader(UITools.GetHeader(), "$skin/styles/SN.Tagging.css");
 }
Beispiel #4
0
        /// <summary>
        /// Initalize the portlet name and description
        /// </summary>
        public EventCalendarPortlet()
        {
            Name        = "$EventCalendarPortlet:PortletDisplayName";
            Description = "$EventCalendarPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.Application);

            this.HiddenProperties.Add("Renderer");
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UserGourpManagerPortlet"/> class.
        /// </summary>
        public UserGourpManagerPortlet()
        {
            Name        = "User Group Manager";
            Description = "This portlet is for managing group memeberships of users";
            Category    = new PortletCategory(PortletCategoryType.Portal);

            this.HiddenProperties.Add("Renderer");
        }
        /// <summary>
        /// Initalize the portlet name and description
        /// </summary>
        public EventCalendarPortlet()
        {
            Name        = "Event calendar";
            Description = "Portlet for handling events in calendar view (context bound)";
            Category    = new PortletCategory(PortletCategoryType.Application);

            this.HiddenProperties.Add("Renderer");
        }
Beispiel #7
0
        /* ====================================================================================================== Constructor */
        public WorkspaceKPIPortlet()
        {
            Name        = "$WorkspaceKPIPortlet:PortletDisplayName";
            Description = "$WorkspaceKPIPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.KPI);

            HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" });
        }
Beispiel #8
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public TagAdminPortlet()
 {
     Name        = "$TagAdminPortlet:PortletDisplayName";
     Description = "$TagAdminPortlet:PortletDescription";
     Category    = new PortletCategory(PortletCategoryType.Application);
     Tags        = "/Root/System/Tags";
     UITools.AddStyleSheetToHeader(UITools.GetHeader(), "$skin/styles/SN.Tagging.css");
 }
Beispiel #9
0
        /// <summary>
        /// Initializes a new instance of the <see cref="UserGourpManagerPortlet"/> class.
        /// </summary>
        public UserGourpManagerPortlet()
        {
            Name        = "$UserGourpManagerPortlet:PortletDisplayName";
            Description = "$UserGourpManagerPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.Portal);

            this.HiddenProperties.Add("Renderer");
        }
Beispiel #10
0
        // -- Constructors ------------------------------------------------
        public FormPortlet()
        {
            Name            = "$FormPortlet:PortletDisplayName";
            Description     = "$FormPortlet:PortletDescription";
            Category        = new PortletCategory(PortletCategoryType.Application);
            _isContentValid = false;

            HiddenProperties.Add("Renderer");
        }
        // ============================================================================================================ Constructor
        public ParametricSearchPortlet()
        {
            Name        = "$ParametricSearchPortlet:PortletDisplayName";
            Description = "$ParametricSearchPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.Search);

            Cacheable = false;   // by default, caching is switched off

            _searchParams = new Dictionary <string, string>();
        }
Beispiel #12
0
        /* ====================================================================================================== Constructor */
        public GlobalKPIPortlet()
        {
            Name        = "$GlobalKPIPortlet:PortletDisplayName";
            Description = "$GlobalKPIPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.KPI);

            HiddenProperties.AddRange(new [] { "SkinPreFix", "Renderer" });
            HiddenPropertyCategories = new List <string> {
                "Context binding"
            };
        }
Beispiel #13
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StatusCodePortlet"/> class.
        /// </summary>
        public StatusCodePortlet()
        {
            Name        = "$StatusCodePortlet:PortletDisplayName";
            Description = "$StatusCodePortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.Application);

            this.HiddenPropertyCategories = new List <string>()
            {
                "Content XML"
            };
            this.HiddenProperties.AddRange(new [] { "PortletChromeType", "Renderer", "SkinPreFix" });
        }
Beispiel #14
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StatusCodePortlet"/> class.
        /// </summary>
        public StatusCodePortlet()
        {
            Name        = "Status Code";
            Description = "Portlet for setting status code on page after rendering.";
            Category    = new PortletCategory(PortletCategoryType.Application);

            this.HiddenPropertyCategories = new List <string>()
            {
                "Content XML"
            };
            this.HiddenProperties.AddRange(new [] { "PortletChromeType", "Renderer", "SkinPreFix" });
        }
Beispiel #15
0
        //====================================================================== Constructor

        public WorkspaceSummaryPortlet()
        {
            Name        = "$WorkspaceSummaryPortlet:PortletDisplayName";
            Description = "$WorkspaceSummaryPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.KPI);

            this.HiddenPropertyCategories = new List <string>()
            {
                EditorCategory.Collection, EditorCategory.ContextBinding
            };
            this.HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" });
        }
        //====================================================================== Constructor

        public WorkspaceSummaryPortlet()
        {
            Name        = "Workspace Summary";
            Description = "A portlet for displaying list of workspaces and Key Performance Indicators";
            Category    = new PortletCategory(PortletCategoryType.KPI);

            this.HiddenPropertyCategories = new List <string>()
            {
                EditorCategory.Collection, EditorCategory.ContextBinding
            };
            this.HiddenProperties.AddRange(new[] { "SkinPreFix", "Renderer" });
        }
        // Constructors ///////////////////////////////////////////////////
        public ContentCollectionPortlet()
        {
            Name        = "$ContentCollectionPortlet:PortletDisplayName";
            Description = "$ContentCollectionPortlet:PortletDescription";
            Category    = new PortletCategory(PortletCategoryType.Collection);

            //remove the xml/xslt fields from the hidden collection
            this.HiddenProperties.RemoveAll(s => XmlFields.Contains(s));

            Cacheable     = true;   // by default, any contentcollection portlet is cached (for visitors)
            CacheByParams = true;   // by default, params are also included -> this is useful for collections with paging
        }
Beispiel #18
0
        // ============================================================================================================ Constructor
        public ParametricSearchPortlet()
        {
            Name        = "Parametric search";
            Description = "An all-purpose portlet for various searches";
            Category    = new PortletCategory(PortletCategoryType.Search);

            Cacheable = false;   // by default, caching is switched off
            this.HiddenPropertyCategories = new List <string>()
            {
                EditorCategory.Cache
            };

            _searchParams = new Dictionary <string, string>();
        }
Beispiel #19
0
 /// <summary>
 /// Initalize the portlet name and description
 /// </summary>
 public BookCalendarPortlet()
 {
     Name        = "Book calendar";
     Description = "Portlet for displaying upcoming books in calendar view (context bound)";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #20
0
 public TagEditPortlet()
 {
     Name        = "$TagEditPortlet:PortletDisplayName";
     Description = "$TagEditPortlet:PortletDescription";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #21
0
 public TagEditPortlet()
 {
     Name        = "Tag edit";
     Description = "Portlet for editing tags (context bound)";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
 public VotingQuestionAddNewPortlet()
 {
     Name        = "$VotingQuestionAddNewPortlet:PortletDisplayName";
     Description = "$VotingQuestionAddNewPortlet:PortletDescription";
     Category    = new PortletCategory(PortletCategoryType.ContentOperation);
 }
 public VotingQuestionAddNewPortlet()
 {
     Name        = "Voting question creator";
     Description = "This portlet creates a new question (if there is no other one) for the given voting (context bound)";
     Category    = new PortletCategory(PortletCategoryType.ContentOperation);
 }
Beispiel #24
0
 public TagToBlackListPortlet()
 {
     Name        = "Tag to blacklist";
     Description = "Portlet for blacklisting tags (context bound)";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #25
0
 public TagDeletePortlet()
 {
     Name        = "Tag delete";
     Description = "Portlet for deleting tags (context bound)";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #26
0
 /// <summary>
 /// Initalize the portlet name and description
 /// </summary>
 public BookCalendarPortlet()
 {
     Name        = "$BookCalendarPortlet:PortletDisplayName";
     Description = "$BookCalendarPortlet:PortletDescription";
     Category    = new PortletCategory(PortletCategoryType.Application);
 }
Beispiel #27
0
 public ContentSearchPortlet()
 {
     Name        = SenseNetResourceManager.Current.GetString(ResourceCalssName, "PortletTitle");
     Description = SenseNetResourceManager.Current.GetString(ResourceCalssName, "PortletDescription");
     Category    = new PortletCategory(PortletCategoryType.Search);
 }
 public ContentSearchPortlet()
 {
     Name        = string.Format("${0}:PortletTitle", ResourceClassName);
     Description = string.Format("${0}:PortletDescription", ResourceClassName);
     Category    = new PortletCategory(PortletCategoryType.Search);
 }