Namespace: Consultingwerk.Windows.Framework.Repository.Rendering.Toolbar
Class 
RibbonRenderer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Windows.Framework.Repository.Rendering.Toolbar.IRibbonRenderer, Ccs.Common.IService

File:RibbonRenderer
Purpose:Renders a Ribbon based on the list of toolbar buttons
Author(s):Mike Fechner/ Consultingwerk Ltd.
Created:Sat Jun 15 14:26:36 CEST 2019



Top Method Summary
Options Name Purpose
+ dispose () Disposes the Service
# Progress.Json.ObjectModel.JsonObject GetJsonObject (character, character) Locates the Button/Group/Tab definition
+ initialize () Initializes the Service
# RenderButton (character, DynamicForm, SmartToolbarController) Renders a ribbon buttons based on the given identifier
+ RenderRibbon (DynamicForm, SmartToolbarController, character)
# Infragistics.Win.UltraWinToolbars.RibbonGroup RenderRibbonGroup (character, SmartToolbarController) Renders a Ribbon Group or returns an existing group
# Infragistics.Win.UltraWinToolbars.RibbonTab RenderRibbonTab (character, SmartToolbarController) Renders a Ribbon Tabs or returns an existing tab


Method Detail
Top

PUBLIC dispose ()

Purpose: Disposes the Service
Notes:

Top

PROTECTED Progress.Json.ObjectModel.JsonObject GetJsonObject (character, character)

Purpose: Locates the Button/Group/Tab definition
Notes:

Parameters:
pcType CHARACTER
The type of object to look for (tools, groups, tabs)
pcId CHARACTER
The Id of the object to look for
Returns Progress.Json.ObjectModel.JsonObject
The JsonObject with the Button/Group/Tab definition
Top

PUBLIC initialize ()

Purpose: Initializes the Service
Notes:

Top

PROTECTED RenderButton (character, DynamicForm, SmartToolbarController)

Purpose: Renders a ribbon buttons based on the given identifier
Notes:

Parameters:
pcButtonId CHARACTER
The identifier of the button to render
poForm Consultingwerk.Windows.Framework.Repository.Rendering.DynamicForm
The reference to the dynamic form
poToolbarController Consultingwerk.SmartComponents.Implementation.SmartToolbarController
The reference to the SmartToolbarController
Top

PUBLIC RenderRibbon (DynamicForm, SmartToolbarController, character)

Purpose:
Notes:

Parameters:
poForm Consultingwerk.Windows.Framework.Repository.Rendering.DynamicForm
The reference to the dynamic form
poToolbarController Consultingwerk.SmartComponents.Implementation.SmartToolbarController
The reference to the SmartToolbarController
pcToolbarButtons CHARACTER
The list of the toolbar buttons to render
Top

PROTECTED Infragistics.Win.UltraWinToolbars.RibbonGroup RenderRibbonGroup (character, SmartToolbarController)

Purpose: Renders a Ribbon Group or returns an existing group
Notes:

Parameters:
pcGroupId CHARACTER
The ID of the Ribbon Group
poToolbarController Consultingwerk.SmartComponents.Implementation.SmartToolbarController
The reference to the SmartToolbarController
Returns Infragistics.Win.UltraWinToolbars.RibbonGroup
The RibbonGroup reference
Top

PROTECTED Infragistics.Win.UltraWinToolbars.RibbonTab RenderRibbonTab (character, SmartToolbarController)

Purpose: Renders a Ribbon Tabs or returns an existing tab
Notes:

Parameters:
pcTabId CHARACTER
The ID of the Ribbon Tab
poToolbarController Consultingwerk.SmartComponents.Implementation.SmartToolbarController
The reference to the SmartToolbarController
Returns Infragistics.Win.UltraWinToolbars.RibbonTab
The RibbonTab reference


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:46:10