Top Method Summary
Options Name Purpose
+ CreateMethod (character, longchar) Creates a method in the container control
# EvaluateFolderName () Evaluates the source folder names
+ CHARACTER Generate () Generates the source code for the SmartViewerControl
# LONGCHAR GenerateBindingSourceNewFields () Generates the Code block that creates the Binding Source schema
# LONGCHAR GenerateControlInit (logical) Generates the Code block for the BeginInit or EndInit calls
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
# LONGCHAR GenerateControlNews () Generates the code block NEW's the Controls
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
# LONGCHAR GenerateControlsPropertyAssign () Generates the Code block that assigns the Control properties
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
# LONGCHAR GenerateControlSupportVariables () Generates the code block that defines and initializes the Control Support Variables
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
# LONGCHAR GenerateDefineControlVariables () Generates the code block that defines the Control Variables
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
+ CHARACTER GenerateObjectName (character) Generates a temporary object name (e.g. appearance1) based on a provided name (e.g. appearance)
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
# LONGCHAR GenerateViewerProperties () Generates the code block that assigns the properties for the SmartViewerControl
# LONGCHAR GetMethods () Returns the source code of the additional methods (event handlers)
# ProcessImages (character) Processes Component Images, addes them to the .resx file
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator

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

Top Property Summary
Options Name Purpose
+ System.Collections.Generic.List <Progress.Data.ColumnPropDesc> BindingSourceColumns
+ CHARACTER ClassName
+ Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator ControlGenerators
Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
+ LOGICAL CreateBindingSource
+ CHARACTER EntityJoin
+ CHARACTER EntityName
+ CHARACTER EntityTable
+ CHARACTER EntityView
+ CHARACTER PackageName
+ CHARACTER ResxTemplateName
+ LOGICAL SilentMode


Method Detail
Top

PUBLIC CreateMethod (character, longchar)

Purpose: Creates a method in the container control
Notes:

Parameters:
pcMethodName CHARACTER
The name of the method to create
pcCode LONGCHAR
The source code of the method
Top

PROTECTED EvaluateFolderName ()

Purpose: Evaluates the source folder names
Notes: Variable cSourceFolder

Top

PUBLIC CHARACTER Generate ()

Purpose: Generates the source code for the SmartViewerControl
Notes:

Returns CHARACTER
The file name of the generated source
Top

PROTECTED LONGCHAR GenerateBindingSourceNewFields ()

Purpose: Generates the Code block that creates the Binding Source schema
Notes:

Returns LONGCHAR
The Code block that creates the Binding Source schema
Top

PROTECTED LONGCHAR GenerateControlInit (logical)

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates the Code block for the BeginInit or EndInit calls
Notes:

Parameters:
plInit LOGICAL
Logical value indicating if the method should generate BeginInit or EndInit calls
Returns LONGCHAR
The code block with the BeginInit or EndInit for the Controls
Top

PROTECTED LONGCHAR GenerateControlNews ()

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates the code block NEW's the Controls
Notes:

Returns LONGCHAR
The code block that NEW's the Controls
Top

PROTECTED LONGCHAR GenerateControlsPropertyAssign ()

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates the Code block that assigns the Control properties
Notes:

Returns LONGCHAR
The code block that assigns the Control properties
Top

PROTECTED LONGCHAR GenerateControlSupportVariables ()

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates the code block that defines and initializes the Control Support Variables
Notes:

Returns LONGCHAR
The code block that defines and initialized the Control Support Variables
Top

PROTECTED LONGCHAR GenerateDefineControlVariables ()

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates the code block that defines the Control Variables
Notes:

Returns LONGCHAR
The code block that defines the Control Variables
Top

PUBLIC CHARACTER GenerateObjectName (character)

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Generates a temporary object name (e.g. appearance1) based on a
provided name (e.g. appearance)
Notes:

Parameters:
pcObjectName CHARACTER
The name to be used for a temporary object
Returns CHARACTER
The name to be used for a temporary object
Top

PROTECTED LONGCHAR GenerateViewerProperties ()

Purpose: Generates the code block that assigns the properties for the SmartViewerControl
Notes:

Returns LONGCHAR
The code block that assigns the properties for the SmartViewerControl
Top

PROTECTED LONGCHAR GetMethods ()

Purpose: Returns the source code of the additional methods (event handlers)
Notes:

Returns LONGCHAR
The source code of all additional methods (event handlers)
Top

PROTECTED ProcessImages (character)

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator
Purpose: Processes Component Images, addes them to the .resx file
Notes:

Parameters:
pcResxFileName CHARACTER
The name of the .resx file to add images to


Constructor Detail
Top

PUBLIC SmartViewerGenerator ()

Purpose: Constructor for the SmartViewerGenerator class
Notes:



Property Detail
Top

PUBLIC System.Collections.Generic.List <Progress.Data.ColumnPropDesc> BindingSourceColumns


Returns System.Collections.Generic.List <Progress.Data.ColumnPropDesc>
Top

PUBLIC CHARACTER ClassName


Returns CHARACTER
Top

PUBLIC Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator ControlGenerators

Inherited from Consultingwerk.BusinessEntityDesigner.Generator.ContainerControlGenerator

Returns Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator
Top

PUBLIC LOGICAL CreateBindingSource


Returns LOGICAL
Top

PUBLIC CHARACTER EntityJoin


Returns CHARACTER
Top

PUBLIC CHARACTER EntityName


Returns CHARACTER
Top

PUBLIC CHARACTER EntityTable


Returns CHARACTER
Top

PUBLIC CHARACTER EntityView


Returns CHARACTER
Top

PUBLIC CHARACTER PackageName


Returns CHARACTER
Top

PUBLIC CHARACTER ResxTemplateName


Returns CHARACTER
Top

PUBLIC LOGICAL SilentMode


Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:56:22