Namespace: Consultingwerk.Studio.LegacyGuiMigration.Frame
Class 
FrameParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:FrameParser
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Nov 19 07:58:10 CET 2013



Top Method Summary
Options Name Purpose
+ Consultingwerk.Framework.Collections.CharacterList GetFrameNames (character) Parses the given file and returns a list of FRAME names
+ GetFrameWidgets (character, character, table) Parses the given file for the given frame name and returns a temp-table containing all the widgets found in that frame
# Initialize () Initializes the Proparse environment
# OnStatusChanged (StatusChangedEventArgs) Raises the StatusChanged
+ CHARACTER ParseListItemPairs (JPNode) Parses the LIST-ITEM-PAIRS Node and returns a CHR(1) delimited list of the LIST-ITEM-PAIRS
+ CHARACTER ParseListItems (JPNode) Parses the LIST-ITEMS Node and returns a CHR(1) delimited list of the LIST-ITEMS
+ CHARACTER ParseRadioButtons (JPNode) Parses the RADIO-BUTTONS Node and returns a CHR(1) delimited list of the RADIO-BUTTONS
# PublishStatus (character) Publishes the a status message

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

Top Event Summary
Options Name Purpose
+ StatusChanged (Object, StatusChangedEventArgs) Raised when the status of the class has changed


Method Detail
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

PUBLIC GetFrameWidgets (character, character, table)

Purpose: Parses the given file for the given frame name and returns a temp-table
containing all the widgets found in that frame
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcFrameName CHARACTER
The name of the frame to return the widgets for
ttFrameWidget TABLE
OUTPUT TABLE The temp-table with the frame widget information
Top

PROTECTED Initialize ()

Purpose: Initializes the Proparse environment
Notes:

Top

PROTECTED OnStatusChanged (StatusChangedEventArgs)

Purpose: Raises the StatusChanged
Notes:

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

PUBLIC CHARACTER ParseListItemPairs (JPNode)

Purpose: Parses the LIST-ITEM-PAIRS Node and returns a CHR(1) delimited list
of the LIST-ITEM-PAIRS
Notes:

Parameters:
poViewAsNode org.prorefactor.core.JPNode
The JPNode representing the VIEW-AS Option
Returns CHARACTER
The CHR(1) delimited list of LIST-ITEM-PAIRS
Top

PUBLIC CHARACTER ParseListItems (JPNode)

Purpose: Parses the LIST-ITEMS Node and returns a CHR(1) delimited list
of the LIST-ITEMS
Notes:

Parameters:
poViewAsNode org.prorefactor.core.JPNode
The JPNode representing the VIEW-AS Option
Returns CHARACTER
The CHR(1) delimited list of LIST-ITEMS
Top

PUBLIC CHARACTER ParseRadioButtons (JPNode)

Purpose: Parses the RADIO-BUTTONS Node and returns a CHR(1) delimited list
of the RADIO-BUTTONS
Notes:

Parameters:
poViewAsNode org.prorefactor.core.JPNode
The JPNode representing the VIEW-AS Option
Returns CHARACTER
The CHR(1) delimited list of RADIO-BUTTONS
Top

PROTECTED PublishStatus (character)

Purpose: Publishes the a status message
Notes:

Parameters:
pcStatus CHARACTER
The status to publish


Constructor Detail
Top

PUBLIC FrameParser ()

Purpose: Constructor for the FrameParser class
Notes:



Event Detail
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


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