Namespace: Consultingwerk.Studio.Proparse.Extensions
Class 
ReplaceFieldAndTableReferencesExtension Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Studio.Proparse.FieldAndTableReferences.IGetBufferNameHandler, Consultingwerk.Studio.Proparse.IProparseTreeViewCustomizer

File:ReplaceFieldAndTableReferencesExtension
Purpose:Provides an interface to replace table and field references
in a parse-tree
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Nov 03 19:54:50 CET 2017



Top Method Summary
Options Name Purpose
+ CHARACTER GetBufferName (character, character, character) Callback method to return a Buffer Name
+ HandleFileParsed (character, ParseUnit) Handles the parsing of a file
+ Initialize (ProparseTreeViewForm, ProparseTreeViewControl) Initializes the Plugin
# ReplaceFieldAndTableReferences () Replaces Table and Field References
# ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the Ribbon


Method Detail
Top

PUBLIC CHARACTER GetBufferName (character, character, character)

Purpose: Callback method to return a Buffer Name
Notes:

Parameters:
pcBufferName CHARACTER
The name of the original buffer
pcTableName CHARACTER
The name of the database table
pcTempTableName CHARACTER
The name of the temp-table
Returns CHARACTER
The name of the temp-table buffer
Top

PUBLIC HandleFileParsed (character, ParseUnit)

Purpose: Handles the parsing of a file
Notes:

Parameters:
pcFileName CHARACTER
The name of the parsed file
poParseUnit org.prorefactor.treeparser.ParseUnit
The proparse parse unit
Top

PUBLIC Initialize (ProparseTreeViewForm, ProparseTreeViewControl)

Purpose: Initializes the Plugin
Notes: Allows to contribute to the UI

Parameters:
poForm Consultingwerk.Studio.Proparse.ProparseTreeViewForm
The reference to the ProparseTreeViewForm instance
poControl Consultingwerk.Studio.Proparse.ProparseTreeViewControl
The reference to the ProparseTreeViewControl instance
Top

PROTECTED ReplaceFieldAndTableReferences ()

Purpose: Replaces Table and Field References
Notes:

Top

PROTECTED ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the Ribbon
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:15:48