Top Method Summary
Options Name Purpose
# CHARACTER CommentBlock (character, character, character, character, longchar) Converts a source code block into a comment
# DetectRectangleLabels () Detects Labels of Rectangles
+ GenerateMetaViewer (logical, character, character, CreateObjectMasterParameter, logical, character, character, logical, logical) Generates a Viewer in the Repository
+ Consultingwerk.Framework.Collections.CharacterList GetFrameNames (character) Parses the given file and returns a list of FRAME names
# OnShowMessage (ShowMessageEventArgs) Raises the ShowMessage event
# OnStatusChanged (StatusChangedEventArgs) Raises the StatusChanged
+ ParseFrameWidgets (character, character, ViewerSettings) Parses the file for widgets of the given frame
+ Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ListViewerFieldSpec PrepareViewerBuilder (SmartViewerBuilder, SmartBusinessEntityBindingSource, character, character, character, character, logical, logical) Prepares the SmartViewerBuilder (adds fields)
# ProcessLookupFieldProperties (JsonObject, SourceFieldLocator) Processes Lookup Properties
- StatusChangedHandler (Object, StatusChangedEventArgs) Event handler for the StatusChanged event of the Frame or Trigger Parser

Top Constructor Summary
Options Name Purpose
+ AblFrameMigrationService () Returns the handle of the ttSelectedFrameWidget temp-table

Top Event Summary
Options Name Purpose
+ ShowMessage (Object, ShowMessageEventArgs) Raised to show a message
+ StatusChanged (Object, StatusChangedEventArgs) Raised when the status of the class has changed

Top Property Summary
Options Name Purpose
+ HANDLE FrameWidgetTempTable
+ HANDLE SelectedFrameWidgetTempTable
+ HANDLE TriggerDataset


Method Detail
Top

PROTECTED CHARACTER CommentBlock (character, character, character, character, longchar)

Purpose: Converts a source code block into a comment
Notes:

Parameters:
pcFileName CHARACTER
The name of the file being processed
pcEvent CHARACTER
The name of the event
pcWidget CHARACTER
The name of the widget
pcFrame CHARACTER
The frame name
pcSource LONGCHAR
The trigger source code
Returns CHARACTER
The commented source code block
Top

PROTECTED DetectRectangleLabels ()

Purpose: Detects Labels of Rectangles
Notes:

Top

PUBLIC GenerateMetaViewer (logical, character, character, CreateObjectMasterParameter, logical, character, character, logical, logical)

Purpose: Generates a Viewer in the Repository
Notes:

Parameters:
plCreateBindingSource LOGICAL
Logical value indicating if we're creating a data bound viewer
pcEntityName CHARACTER
The name of the Business Entity
pcEntityTables CHARACTER
The names of the Business Entity tables
poParameter Consultingwerk.SmartFramework.Repository.CreateObjectMasterParameter
The CreateObjectMasterParameter instance with the name and module of the object to be created
plUpdatingExistingMaster LOGICAL
Updating existing master
pcFileName CHARACTER
The name of the file that contained the frame
pcFrameName CHARACTER
The name of the frame that is being parsed
plAlignLeftTop LOGICAL
Align controls left/top
plParseTriggerCode LOGICAL
Parse Trigger Code
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList GetFrameNames (character)

Purpose: Parses the given file and returns a list of FRAME names
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList of Frame names
Top

PROTECTED OnShowMessage (ShowMessageEventArgs)

Purpose: Raises the ShowMessage event
Notes:

Parameters:
e Consultingwerk.Framework.ShowMessageEventArgs
The ShowMessageEventArgs
Top

PROTECTED OnStatusChanged (StatusChangedEventArgs)

Purpose: Raises the StatusChanged
Notes:

Parameters:
e Consultingwerk.StatusChangedEventArgs
The StatusChangedEventArgs with the data for the event
Top

PUBLIC ParseFrameWidgets (character, character, ViewerSettings)

Purpose: Parses the file for widgets of the given frame
Notes: Populates ttSelectedFrameWidget temp-table

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcFrameName CHARACTER
The name of the frame
poViewerSettings Consultingwerk.Studio.LegacyGuiMigration.Frame.ViewerSettings
The viewer settings for this call
Top

PUBLIC Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ListViewerFieldSpec PrepareViewerBuilder (SmartViewerBuilder, SmartBusinessEntityBindingSource, character, character, character, character, logical, logical)

Purpose: Prepares the SmartViewerBuilder (adds fields)
Notes:

Parameters:
poBuilder Consultingwerk.BusinessEntityDesigner.Generator.Viewer.SmartViewerBuilder
The SmartViewerBuilder instance to prepare
poBindingSource Consultingwerk.SmartComponents.Implementation.SmartBusinessEntityBindingSource
The SmartBusinessEntityBindingSource with the reference schema
pcFileName CHARACTER
The name of the ABL source code containing the frame
pcFrameName CHARACTER
The name of the FRAME that is being processed
pcClassName CHARACTER
The name of the class
pcPackageName CHARACTER
The name of the package
plAlignLeftTop LOGICAL
Align controls left/top
plParseTriggerCode LOGICAL
Parse Trigger Code
Returns Consultingwerk.BusinessEntityDesigner.Generator.Viewer.ListViewerFieldSpec
The list of viewer field specs to pass to the builder with the Generate() method
Top

PROTECTED ProcessLookupFieldProperties (JsonObject, SourceFieldLocator)

Purpose: Processes Lookup Properties
Notes: Maps field names to Business Entity fields

Parameters:
poProperties Progress.Json.ObjectModel.JsonObject
The JsonObject with the field properties
poMapper Consultingwerk.BusinessEntityDesigner.Services.SourceFieldLocator
The SourceFieldLocator instance that maps fields to the Business Entity
Top

PRIVATE StatusChangedHandler (Object, StatusChangedEventArgs)

Purpose: Event handler for the StatusChanged event of the Frame or Trigger
Parser
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.StatusChangedEventArgs
The StatusChangedEventArgs with the data for this event


Constructor Detail
Top

PUBLIC AblFrameMigrationService ()

Purpose: Returns the handle of the ttSelectedFrameWidget temp-table
Notes:



Event Detail
Top

PUBLIC ShowMessage (Object, ShowMessageEventArgs)

Purpose: Raised to show a message
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the StatusChanged event
e Consultingwerk.Framework.ShowMessageEventArgs
The ShowMessageEventArgs with the data for the event
Top

PUBLIC StatusChanged (Object, StatusChangedEventArgs)

Purpose: Raised when the status of the class has changed
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the StatusChanged event
e Consultingwerk.StatusChangedEventArgs
The StatusChangedEventArgs with the data for the event


Property Detail
Top

PUBLIC HANDLE FrameWidgetTempTable


Returns HANDLE
Top

PUBLIC HANDLE SelectedFrameWidgetTempTable


Returns HANDLE
Top

PUBLIC HANDLE TriggerDataset


Returns HANDLE


Temp-Table Detail


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