Top Method Summary
Options Name Purpose
# CHARACTER ExtractQueryString (character, character) Extracts the Query String from the OPEN QUERY Statement
- FindOpenQueryStatements (JPNode, BrowseWidgetQueryInformation) Recursivly locates all OPEN QUERY Stamements in the given JPNode and adds them to the BrowseWidgetQueryInformation
# FindOpenQueryStatements (ParseUnit, BrowseWidgetQueryInformation) Locates all OPEN QUERY Stamements in the given parse unit and adds them to the BrowseWidgetQueryInformation
+ GetBrowseColumns (character, character, table) Parses the given file for the given browse name and returns a temp-table containing all the columns defined in that browse
+ Consultingwerk.Framework.Collections.CharacterList GetBrowseNames (character) Parses the given file and returns a list of BROWSE names
+ Consultingwerk.Studio.LegacyGuiMigration.Browse.BrowseWidgetQueryInformation GetBrowseQueryInformation (character, character) Parses the given file for the given browse name and returns a the BrowseWidgetQueryInformation with the name of the browse query and all OPEN QUERY Statements found in source code
# CHARACTER GetQueryBufferNames (ParseUnit, character) Returns a comma delimited list of buffer names from the DEFINE QUERY Statement for the given Query Name
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
# Initialize () Initializes the Proparse environment
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
# OnStatusChanged (StatusChangedEventArgs) Raises the StatusChanged
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
+ CHARACTER ParseListItemPairs (JPNode) Parses the LIST-ITEM-PAIRS Node and returns a CHR(1) delimited list of the LIST-ITEM-PAIRS
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
+ CHARACTER ParseListItems (JPNode) Parses the LIST-ITEMS Node and returns a CHR(1) delimited list of the LIST-ITEMS
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
+ CHARACTER ParseRadioButtons (JPNode) Parses the RADIO-BUTTONS Node and returns a CHR(1) delimited list of the RADIO-BUTTONS
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
# ProcessBrowseColumns (JPNode) Parses a DEFINE BROWSE Statement
# PublishStatus (character) Publishes the a status message
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser

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

Top Event Summary
Options Name Purpose
+ StatusChanged (Object, StatusChangedEventArgs) Raised when the status of the class has changed
Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser


Method Detail
Top

PROTECTED CHARACTER ExtractQueryString (character, character)

Purpose: Extracts the Query String from the OPEN QUERY Statement
Notes:

Parameters:
pcOpenQueryStatement CHARACTER
The full text of the OPEN QUERY Statement
pcQueryName CHARACTER
The name of the query
Returns CHARACTER
The extraced query string
Top

PRIVATE FindOpenQueryStatements (JPNode, BrowseWidgetQueryInformation)

Purpose: Recursivly locates all OPEN QUERY Stamements in the given JPNode and
adds them to the BrowseWidgetQueryInformation
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode to process
poQueryInfo Consultingwerk.Studio.LegacyGuiMigration.Browse.BrowseWidgetQueryInformation
The BrowseWidgetQueryInformation to add the query strings to, must contain QueryName
Top

PROTECTED FindOpenQueryStatements (ParseUnit, BrowseWidgetQueryInformation)

Purpose: Locates all OPEN QUERY Stamements in the given parse unit and adds
them to the BrowseWidgetQueryInformation
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
The ParseUnit for the current source
poQueryInfo Consultingwerk.Studio.LegacyGuiMigration.Browse.BrowseWidgetQueryInformation
The BrowseWidgetQueryInformation to add the query strings to, must contain QueryName
Top

PUBLIC GetBrowseColumns (character, character, table)

Purpose: Parses the given file for the given browse name and returns a temp-table
containing all the columns defined in that browse
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcBrowseName CHARACTER
The name of the browse to return the columns for
ttBrowseColumn TEMP-TABLE ttBrowseColumn
OUTPUT TABLE The temp-table with the frame widget information
Top

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

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

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

PUBLIC Consultingwerk.Studio.LegacyGuiMigration.Browse.BrowseWidgetQueryInformation GetBrowseQueryInformation (character, character)

Purpose: Parses the given file for the given browse name and returns a the
BrowseWidgetQueryInformation with the name of the browse query and
all OPEN QUERY Statements found in source code
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
pcBrowseName CHARACTER
The name of the browse to return the columns for
Returns Consultingwerk.Studio.LegacyGuiMigration.Browse.BrowseWidgetQueryInformation
The BrowseWidgetQueryInformation with the name of the browse query and all OPEN QUERY Statements found in source code
Top

PROTECTED CHARACTER GetQueryBufferNames (ParseUnit, character)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
Purpose: Returns a comma delimited list of buffer names from the DEFINE
QUERY Statement for the given Query Name
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
The ParseUnit for the current source
pcQueryName CHARACTER
The name of the query to return the buffer names for
Returns CHARACTER
The comma delimited list of query buffer names
Top

PROTECTED Initialize ()

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
Purpose: Initializes the Proparse environment
Notes:

Top

PROTECTED OnStatusChanged (StatusChangedEventArgs)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
Purpose: Raises the StatusChanged
Notes:

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

PUBLIC CHARACTER ParseListItemPairs (JPNode)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
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)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
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)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
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 ProcessBrowseColumns (JPNode)

Purpose: Parses a DEFINE BROWSE Statement
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The Node to process
Top

PROTECTED PublishStatus (character)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
Purpose: Publishes the a status message
Notes:

Parameters:
pcStatus CHARACTER
The status to publish


Constructor Detail
Top

PUBLIC BrowseParser ()

Purpose: Constructor for the BrowseParser class
Notes:



Event Detail
Top

PUBLIC StatusChanged (Object, StatusChangedEventArgs)

Inherited from Consultingwerk.Studio.LegacyGuiMigration.LegacyGuiParser
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


Temp-Table Detail

Temp-Table ttBrowseColumn

Defined in:


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