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

File:TriggerParser
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Nov 15 23:21:50 CET 2014



Top Method Summary
Options Name Purpose
# CHARACTER FindId (JPNode) Returns the Text of the ID Node under the given Node
+ GetTriggerCode (character, dataset) Parses the given file for the trigger subscriptions and returns a dataset containing all triggers including their source code
# Initialize () Initializes the Proparse environment
# OnStatusChanged (StatusChangedEventArgs) Raises the StatusChanged
# ParseTriggerNode (JPNode) Parses a JPNode representing a trigger (ON Statement)
# PublishStatus (character) Publishes the a status message

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


Method Detail
Top

PROTECTED CHARACTER FindId (JPNode)

Purpose: Returns the Text of the ID Node under the given Node
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The parent node to locate the ID under
Returns CHARACTER
The ID value
Top

PUBLIC GetTriggerCode (character, dataset)

Purpose: Parses the given file for the trigger subscriptions and returns a dataset
containing all triggers including their source code
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to parse
dsTrigger DATASET
OUTPUT DATASET The ProDataset with the Trigger subscriptions and source code
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

PROTECTED ParseTriggerNode (JPNode)

Purpose: Parses a JPNode representing a trigger (ON Statement)
Notes: Creates records in the temp-tables

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode representing the ON Statement
Top

PROTECTED PublishStatus (character)

Purpose: Publishes the a status message
Notes:

Parameters:
pcStatus CHARACTER
The status to publish


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