Namespace: Consultingwerk.BusinessEntityDesigner.Generator.Viewer
Class 
SmartWeb2ViewGenerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ISmartViewerGenerator

File:SmartWeb2ViewGenerator
Purpose:Generator for SmartViewerControl Classes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Oct 17 10:05:14 CEST 2012



Top Method Summary
Options Name Purpose
+ CreateMethod (character, longchar) Creates a method in the container control
+ CHARACTER Generate () Generates the source code for the SmartViewerControl
+ CHARACTER GenerateObjectName (character) Generates a temporary object name (e.g. appearance1) based on a provoded name (e.g. appearance)

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

Top Property Summary
Options Name Purpose
+ System.Collections.Generic.List <Progress.Data.ColumnPropDesc> BindingSourceColumns Returns the List of Columns in the BindingSource Schema
+ CHARACTER ClassName Gets and sets the Class Name for the generated SmartViewerControl
+ Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator ControlGenerators Returns the List of IControlGenerators used by this SmartViewerGenerator
+ LOGICAL CreateBindingSource Gets and sets if the generated User Control should contain a Binding Source or not
+ CHARACTER EntityJoin Gets and sets the EntityJoin property of the SmartBusinessEntityBindingSource
+ CHARACTER EntityName Gets and sets the EntityName property of the SmartBusinessEntityBindingSource
+ CHARACTER EntityTable Gets and sets the EntityTable property of the SmartBusinessEntityBindingSource
+ CHARACTER EntityView Gets and sets the EntityView property of the SmartBusinessEntityBindingSource
+ CHARACTER OutputFileName Gets and sets the output file name
+ CHARACTER PackageName Gets and sets the Class Name for the generated SmartViewerControl


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

PUBLIC CHARACTER Generate ()

Purpose: Generates the source code for the SmartViewerControl
Notes:

Returns CHARACTER
The file name of the generated source
Top

PUBLIC CHARACTER GenerateObjectName (character)

Purpose: Generates a temporary object name (e.g. appearance1) based on a
provoded 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


Constructor Detail
Top

PUBLIC SmartWeb2ViewGenerator (character)

Purpose: Constructor for the SmartWeb2ViewGenerator class
Notes:

Parameters:
pcOutputFileName CHARACTER
The output file name


Property Detail
Top

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

Purpose: Returns the List of Columns in the BindingSource Schema
Notes:

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

PUBLIC CHARACTER ClassName

Purpose: Gets and sets the Class Name for the generated SmartViewerControl
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator ControlGenerators

Purpose: Returns the List of IControlGenerators used by this SmartViewerGenerator
Notes:

Returns Consultingwerk.BusinessEntityDesigner.Generator.ListIControlGenerator
Top

PUBLIC LOGICAL CreateBindingSource

Purpose: Gets and sets if the generated User Control should contain a
Binding Source or not
Notes:

Returns LOGICAL
Top

PUBLIC CHARACTER EntityJoin

Purpose: Gets and sets the EntityJoin property of the SmartBusinessEntityBindingSource
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER EntityName

Purpose: Gets and sets the EntityName property of the SmartBusinessEntityBindingSource
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER EntityTable

Purpose: Gets and sets the EntityTable property of the SmartBusinessEntityBindingSource
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER EntityView

Purpose: Gets and sets the EntityView property of the SmartBusinessEntityBindingSource
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER OutputFileName

Purpose: Gets and sets the output file name
Notes: Optionally. Some Generators may not use the Viewer package and Class
Name for generation.

Returns CHARACTER
Top

PUBLIC CHARACTER PackageName

Purpose: Gets and sets the Class Name for the generated SmartViewerControl
Notes:

Returns CHARACTER


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