Namespace: Consultingwerk.Windows.Framework.Repository.Rendering.Toolbar
Class 
SmartToolbarControllerRenderer Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Inherited by: Consultingwerk.Windows.Framework.Repository.Rendering.Toolbar.PanelRenderer Consultingwerk.Windows.Framework.Repository.Rendering.Toolbar.RibbonRenderer
ABSTRACT

File:SmartToolbarControllerRenderer
Purpose:Abstract base class for the RibbonRenderer and the PanelRenderer
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Apr 01 20:12:15 CEST 2020
Purpose: Returns the array of JsonObjects
Notes:



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
# System.Drawing.Bitmap LoadImage (character, character) Loads an Image
# Infragistics.Win.UltraWinToolbars.ToolBase RenderRootTool (JsonObject, character, DynamicForm, UltraToolbarsManager) Renders a RootTool
# SetShortcutForTool (character, SharedProps, JsonObject) Sets the shortcut for a ButtonTool
# UpdateButtonProperties (character, SharedProps, JsonObject) Updates SharedProps of a Button Tool

Top Property Summary
Options Name Purpose
# Progress.Json.ObjectModel.JsonObject JsonObjects


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 System.Drawing.Bitmap LoadImage (character, character)

Purpose: Loads an Image
Notes: Provides error handling when the image cannot be found

Parameters:
pcName CHARACTER
The name of the toolbar button
pcImageKey CHARACTER
The key (filename) of the image
Returns System.Drawing.Bitmap
The System.Drawing.Bitmap reference
Top

PROTECTED Infragistics.Win.UltraWinToolbars.ToolBase RenderRootTool (JsonObject, character, DynamicForm, UltraToolbarsManager)

Purpose: Renders a RootTool
Notes: Button or ComboBox Tool

Parameters:
poButton Progress.Json.ObjectModel.JsonObject
The Reference to the JSON Object representing the Button definition
pcName CHARACTER
The name of the Button to render
poForm Consultingwerk.Windows.Framework.Repository.Rendering.DynamicForm
The reference to the DynamicForm instance
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager
Returns Infragistics.Win.UltraWinToolbars.ToolBase
The instance of the ToolBase
Top

PROTECTED SetShortcutForTool (character, SharedProps, JsonObject)

Purpose: Sets the shortcut for a ButtonTool
Notes:

Parameters:
pcName CHARACTER
The name of the toolbar button to render
poSharedProps Infragistics.Win.UltraWinToolbars.SharedProps
The reference to the SharedProps of the button tool
poButton Progress.Json.ObjectModel.JsonObject
The JSON definition of the button
Top

PROTECTED UpdateButtonProperties (character, SharedProps, JsonObject)

Purpose: Updates SharedProps of a Button Tool
Notes:

Parameters:
pcName CHARACTER
The name of the button
poSharedProps Infragistics.Win.UltraWinToolbars.SharedProps
The reference to the SharedProps of the button tool
poButton Progress.Json.ObjectModel.JsonObject
The JSON definition of the button


Property Detail
Top

PROTECTED Progress.Json.ObjectModel.JsonObject JsonObjects


Returns Progress.Json.ObjectModel.JsonObject


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:22:18