Namespace: Consultingwerk.Studio.ProcedureEditor
Class 
SmartEditorForm Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: Consultingwerk.Forms.IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey
Inherited by: Consultingwerk.BusinessEntityDesigner.UI.BusinessEntitySourceEditorForm

File:SmartEditorForm
Purpose:MDI Container for ProcedureEditorForm instances
Description:Allows editing of multiple ABL source code files in an
IDE like fashion
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Jun 25 20:33:45 CEST 2013



Top Method Summary
Options Name Purpose
CheckSyntax () Performs a syntax check
LOGICAL CloseAll () Closes all open editors and when successful the SmartEditorForm itself
DeleteTemporaryFile (character) Deletes a temporary file
DisplayStatus (character) Displays status in the status bar
EditorFormClosedHandler (Object, FormClosedEventArgs) Event handle for the FormClosedHandler event of the Procedure Editor Forms
EvaluateSaveEnabled () Determines and sets the Enabled status of the Save button
CHARACTER GetCurrentFileName () Returns the name of the currently active file
org.prorefactor.core.JPNode GetJPNode (integer) Returns a JPNode by a node number
InitializeComponent () Initializes the Visual Design
InsertMethod () Inserts a method into the source code
InsertMethod (character, character) Inserts a method into the current class
OnDragDrop (DragEventArgs) Raises the DragDrop event
OnDragEnter (DragEventArgs) Raises the DragEnter event
OnFormClosing (FormClosingEventArgs) Raises the FormClosing event
OnMdiChildActivate (EventArgs) Raises the MdiChildActivate event
OnShown (EventArgs) Raises the OnShown event
OpenFile () Shows the File Open dialog
Consultingwerk.Studio.ProcedureEditor.ProcedureEditorForm OpenFile (character) Opens the given file
ParseClassMembers (JPNode) Parses the ClassNode
ParseProcedureMembers (JPNode) Parses the ProcedureNode
ParseSourceCode () Parses the current editor contents
PopulateMethodTempTable () Populates the temp-table with the current class methods
PopulateOutline (ParseUnit) Populates the Outline View
LOGICAL Reparse () Reparse the current editor contents
Save () Saves the current editors
SaveAll () Saves all open editors
SetTimersEnabled (logical) Enables or Disables the Timer Components
timer1_Tick (Object, EventArgs) Event handler for the Tick event of the timer component
timer2_Tick (Object, EventArgs) Event handler for the Tick event of the timer component
TreeNodeSelectedHandler (Object, TreeNodeSelectedEventArgs) Event handler for the treeNodeSelected event of the ultraTreeWithSearchControl1
ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs) Event handler for the ToolClick event of the ultraToolbarsManager1

Top Constructor Summary
Options Name Purpose
SmartEditorForm () Constructor for the SmartEditorForm class

Top Property Summary
Options Name Purpose
System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode> Nodes


Method Detail
Top

CheckSyntax ()

Purpose: Performs a syntax check
Notes:

Top

LOGICAL CloseAll ()

Purpose: Closes all open editors and when successful the SmartEditorForm itself
Notes:

Returns LOGICAL
Logical value indicating if the editor was closed
Top

DeleteTemporaryFile (character)

Purpose: Deletes a temporary file
Notes:

Parameters:
pcFileName CHARACTER
The name of the temporary file
Top

DisplayStatus (character)

Purpose: Displays status in the status bar
Notes:

Parameters:
pcStatus CHARACTER
The status to display
Top

EditorFormClosedHandler (Object, FormClosedEventArgs)

Purpose: Event handle for the FormClosedHandler event of the Procedure Editor
Forms
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.FormClosedEventArgs
The FormClosedEventArgs with the data for this event
Top

EvaluateSaveEnabled ()

Purpose: Determines and sets the Enabled status of the Save button
Notes:

Top

CHARACTER GetCurrentFileName ()

Purpose: Returns the name of the currently active file
Notes:

Returns CHARACTER
The name of the currently active file
Top

org.prorefactor.core.JPNode GetJPNode (integer)

Purpose: Returns a JPNode by a node number
Notes:

Parameters:
piNodeNum INTEGER
The node number to return
Returns org.prorefactor.core.JPNode
The reference to the specified JPNode
Top

InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

InsertMethod ()

Purpose: Inserts a method into the source code
Notes:

Top

InsertMethod (character, character)

Purpose: Inserts a method into the current class
Notes: Locates the position by alphabet

Parameters:
pcMethodName CHARACTER
The name of the method to insert
pcCode CHARACTER
The complete code of the method to insert (including comments and the METHOD statement)
Top

OnDragDrop (DragEventArgs)

Purpose: Raises the DragDrop event
Notes:

Parameters:
e System.Windows.Forms.DragEventArgs
The DragEventArgs with the data for this event
Top

OnDragEnter (DragEventArgs)

Purpose: Raises the DragEnter event
Notes:

Parameters:
e System.Windows.Forms.DragEventArgs
The DragEventArgs with the data for this event
Top

OnFormClosing (FormClosingEventArgs)

Purpose: Raises the FormClosing event
Notes:

Parameters:
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

OnMdiChildActivate (EventArgs)

Purpose: Raises the MdiChildActivate event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

OnShown (EventArgs)

Purpose: Raises the OnShown event
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

OpenFile ()

Purpose: Shows the File Open dialog
Notes:

Top

Consultingwerk.Studio.ProcedureEditor.ProcedureEditorForm OpenFile (character)

Purpose: Opens the given file
Notes:

Parameters:
pcFileName CHARACTER
The name of the file to open
Returns Consultingwerk.Studio.ProcedureEditor.ProcedureEditorForm
The reference to the ProcedureEditorForm
Top

ParseClassMembers (JPNode)

Purpose: Parses the ClassNode
Notes:

Parameters:
poClassName org.prorefactor.core.JPNode
The JPNode for the Class Node
Top

ParseProcedureMembers (JPNode)

Purpose: Parses the ProcedureNode
Notes:

Parameters:
poProcedureNode org.prorefactor.core.JPNode
The JPNode for the Procedure Node
Top

ParseSourceCode ()

Purpose: Parses the current editor contents
Notes:

Top

PopulateMethodTempTable ()

Purpose: Populates the temp-table with the current class methods
Notes:

Top

PopulateOutline (ParseUnit)

Purpose: Populates the Outline View
Notes:

Parameters:
poParseUnit org.prorefactor.treeparser.ParseUnit
The ParseUnit of the File to parse
Top

LOGICAL Reparse ()

Purpose: Reparse the current editor contents
Notes:

Returns LOGICAL
Logical value indicating if the file could be parsed
Top

Save ()

Purpose: Saves the current editors
Notes:

Top

SaveAll ()

Purpose: Saves all open editors
Notes:

Top

SetTimersEnabled (logical)

Purpose: Enables or Disables the Timer Components
Notes:

Parameters:
plEnabled LOGICAL
Logical value indicating if the timers should be enabled or not
Top

timer1_Tick (Object, EventArgs)

Purpose: Event handler for the Tick event of the timer component
Notes: Evaluates the Save button state

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

timer2_Tick (Object, EventArgs)

Purpose: Event handler for the Tick event of the timer component
Notes: Reparse the current file for the outline view

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

TreeNodeSelectedHandler (Object, TreeNodeSelectedEventArgs)

Purpose: Event handler for the treeNodeSelected event of the ultraTreeWithSearchControl1
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.Windows.Controls.TreeNodeSelectedEventArgs
The TreeNodeSelectedEventArgs with the data for this event
Top

ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs)

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

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


Constructor Detail
Top

SmartEditorForm ()

Purpose: Constructor for the SmartEditorForm class
Notes:



Property Detail
Top

System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode> Nodes


Returns System.Collections.Generic.Dictionary < org.prorefactor.core.JPNode>


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:29:43