Namespace: Consultingwerk.Windows.Controls
Class 
UltraRibbonLruController Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:UltraRibbonLruController
Purpose:Provides generic functionality for managing a LRU list in
the Ribbon Application menu (right)
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Jul 22 00:11:06 CEST 2014



Top Method Summary
Options Name Purpose
+ AddItemToLru (character, character) Adds an item at the beginning of the LRU
+ LoadLru () Loads the LRU list from the ISettingsService
+ StoreLru () Stores the LRU list in the ISettingsService

Top Constructor Summary
Options Name Purpose
+ UltraRibbonLruController (UltraToolbarsManager, character, character, integer) Constructor for the UltraRibbonLruController class

Top Property Summary
Options Name Purpose
+ CHARACTER BaseKey Gets the ISettingsService Base Key to use to store/retrieve the settings from
+ CHARACTER KeyPattern Gets the ISettingsService Key pattern to use to store/retrieve the settings from
+ INTEGER MaxItems Gets the maximum number of LRU items
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager Gets the reference to the UltraToolbarsManager


Method Detail
Top

PUBLIC AddItemToLru (character, character)

Purpose: Adds an item at the beginning of the LRU
Notes:

Parameters:
pcDisplayText CHARACTER
The display text of the item
pcItemKey CHARACTER
The key of the item
Top

PUBLIC LoadLru ()

Purpose: Loads the LRU list from the ISettingsService
Notes:

Top

PUBLIC StoreLru ()

Purpose: Stores the LRU list in the ISettingsService
Notes:



Constructor Detail
Top

PUBLIC UltraRibbonLruController (UltraToolbarsManager, character, character, integer)

Purpose: Constructor for the UltraRibbonLruController class
Notes:

Parameters:
poToolbarsManager Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager
pcBaseKey CHARACTER
The ISettingsService Base Key to use to store/retrieve the settings from
pcKeyPattern CHARACTER
The ISettingsService Key pattern to use to store/retrieve the settings from
piMaxItems INTEGER
The maximum number of LRU items


Property Detail
Top

PUBLIC CHARACTER BaseKey

Purpose: Gets the ISettingsService Base Key to use to store/retrieve the
settings from
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER KeyPattern

Purpose: Gets the ISettingsService Key pattern to use to store/retrieve the
settings from
Notes:

Returns CHARACTER
Top

PUBLIC INTEGER MaxItems

Purpose: Gets the maximum number of LRU items
Notes:

Returns INTEGER
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager

Purpose: Gets the reference to the UltraToolbarsManager
Notes:

Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:47:47