public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element(QueryNames.ProjectDashboardListLayout, T("Project Dashboard Ticket list portlet"), T("Uses a build-in shape to render list of tickets inside a Project portlet."),
              DisplayLayout,
              RenderLayout,
              "ShapeLayout"
              );
 }
示例#2
0
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("Grid", T("Grid"), T("Organizes content items in a grid."),
              DisplayLayout,
              RenderLayout,
              "GridLayout"
              );
 }
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("Carousel", T("Carousel"), T("Organizes content items in a carousel."),
              DisplayLayout,
              RenderLayout,
              "CarouselLayout"
              );
 }
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("Shape", T("Shape"), T("Uses a specific shape name to render the layout."),
              DisplayLayout,
              RenderLayout,
              "ShapeLayout"
              );
 }
示例#5
0
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("Raw", T("Raw"), T("Renders content with custom separators."),
              DisplayLayout,
              RenderLayout,
              "RawLayout"
              );
 }
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("Tickets List", T("Tickets List"), T("Uses a build-in list-based shape to render a list of tickets. (This layout doesn't support 'Properties Display Mode')"),
              DisplayLayout,
              RenderLayout,
              string.Empty
              );
 }
示例#7
0
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("List", T("Html List"), T("Organizes content items inside a simple list."),
              DisplayLayout,
              RenderLayout,
              "ListLayout"
              );
 }
示例#8
0
 public void Describe(DescribeLayoutContext describe)
 {
     describe.For("Html", T("Html"), T("Html Layouts"))
     .Element("TileNav", T("Tile Navigation"), T("Organizes content items in a tile navigation widget."),
              DisplayLayout,
              RenderLayout,
              "TileNavLayout"
              );
 }
示例#9
0
        public IEnumerable <TypeDescriptor <LayoutDescriptor> > DescribeLayouts()
        {
            var context = new DescribeLayoutContext();

            foreach (var provider in _layoutProviders)
            {
                provider.Describe(context);
            }
            return(context.Describe());
        }