Namespace: Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Grid
Class 
MetaGridGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:MetaGridGenerator
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Jun 01 08:35:38 CEST 2019



Top Method Summary
Options Name Purpose
+ CHARACTER CreateInstance (ISmartRepositoryService, logical, character, character, character, character, character, integer, DictionaryAttributeValue) Creates an Object Instance
+ CHARACTER Generate (CreateObjectMasterParameter, ListGridColumn) Generates the source code for the SmartViewerControl
# CHARACTER GenerateDataField (ISmartRepositoryService, logical, character, GridColumn, integer) Generates a data field instance
# GenerateInstances (ISmartRepositoryService, logical, character, ListGridColumn) Generates the instances for the given container

Top Constructor Summary
Options Name Purpose
+ MetaGridGenerator (logical) Constructor for the MetaGridGenerator class


Method Detail
Top

PUBLIC CHARACTER CreateInstance (ISmartRepositoryService, logical, character, character, character, character, character, integer, DictionaryAttributeValue)

Purpose: Creates an Object Instance
Notes:

Parameters:
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The reference to the ISmartRepositoryService
plUpdatingExistingMaster LOGICAL
Updating existing master
pcContainerObject CHARACTER
The Container Object Master GUID or Container Object Name
pcInstanceObject CHARACTER
The Object Master GUID or Object Name of the object to create an instance of
pcInstanceName CHARACTER
The name of the object instance (or ? to use the object name)
pcInstanceDescription CHARACTER
The description of the instance
pcPageGuid CHARACTER
The GUID or the sequence number of the page to create the instance on, leave empty for container page
piObjectSequence INTEGER
The sequence of the object instance on the given page
poAttributes Consultingwerk.SmartFramework.Repository.DictionaryAttributeValue
The Dictionary of IAttributeValue instances
Returns CHARACTER
The Object Instance Guid
Top

PUBLIC CHARACTER Generate (CreateObjectMasterParameter, ListGridColumn)

Purpose: Generates the source code for the SmartViewerControl
Notes:

Parameters:
poParameter Consultingwerk.SmartFramework.Repository.CreateObjectMasterParameter
The CreateObjectMasterParameter instance with data for this call
poColumns Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Grid.ListGridColumn
The List of Grid columns
Returns CHARACTER
The GUID of the generated viewer
Top

PROTECTED CHARACTER GenerateDataField (ISmartRepositoryService, logical, character, GridColumn, integer)

Purpose: Generates a data field instance
Notes:

Parameters:
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The reference of the ISmartRepositoryService
plUpdatingExistingMaster LOGICAL
Updating existing master
pcGridGuid CHARACTER
The GUID of the MetaViewer master
poColumn Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Grid.GridColumn
The GridColumn with the data for this instance
piOrder INTEGER
The column order
Returns CHARACTER
The GUID of the object instance
Top

PROTECTED GenerateInstances (ISmartRepositoryService, logical, character, ListGridColumn)

Purpose: Generates the instances for the given container
Notes:

Parameters:
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The reference of the ISmartRepositoryService
plUpdatingExistingMaster LOGICAL
Updating existing master
pcGridGuid CHARACTER
The GUID of the MetaViewer master
poColumns Consultingwerk.Windows.Framework.Repository.LegacyGuiMigration.Grid.ListGridColumn
The list of GridColumn instances


Constructor Detail
Top

PUBLIC MetaGridGenerator (logical)

Purpose: Constructor for the MetaGridGenerator class
Notes:

Parameters:
plUpdatingExistingMaster LOGICAL
Updating existing master


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:28:25