public PortletCategory(PortletCategoryType type) { switch (type) { case PortletCategoryType.Navigation: this.Title = "Navigation"; this.Description = "Portlets used for navigating in portal"; break; case PortletCategoryType.Portal: this.Title = "Portal"; this.Description = "Portal functions related portlets"; break; case PortletCategoryType.Content: this.Title = "Content"; this.Description = "Content portlets"; break; case PortletCategoryType.ContentOperation: this.Title = "Content operation"; this.Description = "Portlets for basic content operations"; break; case PortletCategoryType.Collection: this.Title = "Content collection"; this.Description = "Content collection portlets"; break; case PortletCategoryType.Application: this.Title = "Application"; this.Description = "Basic application portlets"; break; case PortletCategoryType.System: this.Title = "System"; this.Description = "System related portlets"; break; case PortletCategoryType.Search: this.Title = "Search"; this.Description = "Search portlets"; break; case PortletCategoryType.Custom: this.Title = "Custom"; this.Description = "Custom portlets designed for current portal"; break; case PortletCategoryType.KPI: this.Title = "KPI"; this.Description = "Workspace KPI portlets"; break; case PortletCategoryType.Other: this.Title = "Other"; this.Description = "Other portlets"; break; case PortletCategoryType.Workflow: this.Title = "Workflow"; this.Description = "Workflow related portlets"; break; case PortletCategoryType.Enterprise20: this.Title = "Enterprise 2.0"; this.Description = "ECM 2.0 features"; break; } }
public PortletCategory(PortletCategoryType type) { switch (type) { case PortletCategoryType.Navigation: this.Title = "$PortletFramework:Category_Navigation"; this.Description = "$PortletFramework:Category_Navigation_Description"; break; case PortletCategoryType.Portal: this.Title = "$PortletFramework:Category_Portal"; this.Description = "$PortletFramework:Category_Portal_Description"; break; case PortletCategoryType.Content: this.Title = "$PortletFramework:Category_Content"; this.Description = "$PortletFramework:Category_Content_Description"; break; case PortletCategoryType.ContentOperation: this.Title = "$PortletFramework:Category_ContentOperation"; this.Description = "$PortletFramework:Category_ContentOperation_Description"; break; case PortletCategoryType.Collection: this.Title = "$PortletFramework:Category_Collection"; this.Description = "$PortletFramework:Category_Collection_Description"; break; case PortletCategoryType.Application: this.Title = "$PortletFramework:Category_Application"; this.Description = "$PortletFramework:Category_Application_Description"; break; case PortletCategoryType.System: this.Title = "$PortletFramework:Category_System"; this.Description = "$PortletFramework:Category_System_Description"; break; case PortletCategoryType.Search: this.Title = "$PortletFramework:Category_Search"; this.Description = "$PortletFramework:Category_Search_Description"; break; case PortletCategoryType.Custom: this.Title = "$PortletFramework:Category_Custom"; this.Description = "$PortletFramework:Category_Custom_Description"; break; case PortletCategoryType.KPI: this.Title = "$PortletFramework:Category_KPI"; this.Description = "$PortletFramework:Category_KPI_Description"; break; case PortletCategoryType.Other: this.Title = "$PortletFramework:Category_Other"; this.Description = "$PortletFramework:Category_Other_Description"; break; case PortletCategoryType.Workflow: this.Title = "$PortletFramework:Category_Workflow"; this.Description = "$PortletFramework:Category_Workflow_Description"; break; case PortletCategoryType.Enterprise20: this.Title = "$PortletFramework:Category_Enterprise20"; this.Description = "$PortletFramework:Category_Enterprise20_Description"; break; } }