Namespace: Consultingwerk.BusinessEntityDesigner.Plugins
Class 
BusinessEntityRelationsPlugin Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.IBusinessEntityDesignerPlugin

File:BusinessEntityRelationsPlugin
Purpose:Plugin to maintain relations between tables of from
(different) Business Entities
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu May 20 08:44:58 CEST 2021



Top Method Summary
Options Name Purpose
# DrawShapeDetailsHandler (Object, DrawShapeDetailsEventArgs) Event handler for the DrawShapeDetailsHandler event
# LONGCHAR GenerateGetMethod (ModelClassGeneratorPlugin, RelationDesignAttributes, character) Generates the source code for the method
# GetRelations (character) Populates the temp-table with relations
# CHARACTER GetSelectedTempTableName () Returns the name of the selected temp-table on the canvas
# GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs) Event handler for the GetTableModelMembers event of the ModelClassGeneratorPlugin
+ ShowRelationsDialog () Shows the relation maintenance dialog for the selected temp-table
+ Shutdown () Method called when the Business Entity Designer will get closed
+ Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager) Method called when the Business Entity Designer is starting and has loaded the plugin.
# StoreRelations (character) Populates the temp-table with relations
# ToolClickHandler (Object, ToolClickEventArgs) Event handle the for the toolclick event of the UltraToolbarsController


Method Detail
Top

PROTECTED DrawShapeDetailsHandler (Object, DrawShapeDetailsEventArgs)

Purpose: Event handler for the DrawShapeDetailsHandler event
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the object that raised the event
e Consultingwerk.BusinessEntityDesigner.UI.Shapes.DrawShapeDetailsEventArgs
The DrawShapeDetailsEventArgs with the data for this event
Top

PROTECTED LONGCHAR GenerateGetMethod (ModelClassGeneratorPlugin, RelationDesignAttributes, character)

Purpose: Generates the source code for the method
Notes:

Parameters:
poModelClassGeneratorPlugin Consultingwerk.BusinessEntityDesigner.Plugins.ModelClassGeneratorPlugin
The reference to the ModelClassGeneratorPlugin instance
poAttributes Consultingwerk.BusinessEntityDesigner.Plugins.BusinessEntityRelations.RelationDesignAttributes
The RelationDesignAttributes instance
pcTempTableName CHARACTER
The name of the source temp-table
Returns LONGCHAR
The source code for the method
Top

PROTECTED GetRelations (character)

Purpose: Populates the temp-table with relations
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the selected temp-table
Top

PROTECTED CHARACTER GetSelectedTempTableName ()

Purpose: Returns the name of the selected temp-table on the canvas
Notes:

Returns CHARACTER
The name of the selected temp-table
Top

PROTECTED GetTableModelMembersHandler (Object, GetTableModelMembersEventArgs)

Purpose: Event handler for the GetTableModelMembers event of the ModelClassGeneratorPlugin
Notes:

Parameters:
sender Progress.Lang.Object
The reference to the class that raised the event
e Consultingwerk.BusinessEntityDesigner.Plugins.ModelClassGenerator.GetTableModelMembersEventArgs
The GetTableModelMembersEventArgs with the data for this event
Top

PUBLIC ShowRelationsDialog ()

Purpose: Shows the relation maintenance dialog for the selected temp-table
Notes:

Top

PUBLIC Shutdown ()

Purpose: Method called when the Business Entity Designer will get closed
Notes:

Top

PUBLIC Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager)

Purpose: Method called when the Business Entity Designer is starting and
has loaded the plugin.
Notes: Passes references to some key components of the Designer to
the plugin, use this to initialize the plugin, subscribe to events

Parameters:
dsBusinessEntity DATASET dsBusinessEntity
Business Entity with the Design dataset, called with the BIND keyword
poController Consultingwerk.BusinessEntityDesigner.Services.BusinessEntityDatasetController
The BusinessEntityDatasetController
poForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm
The main Form of the BusinessEntityDesigner
poToolbar Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager used by the BusinessEntityDesigner
Top

PROTECTED StoreRelations (character)

Purpose: Populates the temp-table with relations
Notes:

Parameters:
pcTempTableName CHARACTER
The name of the selected temp-table
Top

PROTECTED ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handle the for the toolclick event of the UltraToolbarsController
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


ProDataset Detail

ProDataset dsBusinessEntity

Member tables: eBusinessEntity, eDataRelation, eDataRelationProperties, eTable, eField, eFieldProperties, eIndex, eIndexProperties, eTableProperties, eBusinessEntityProperties


Temp-Table Detail

Temp-Table eBusinessEntity

Defined in:

Temp-Table eBusinessEntityProperties

Defined in:

Temp-Table eDataRelation

Defined in:

Temp-Table eDataRelationProperties

Defined in:

Temp-Table eField

Defined in:

Temp-Table eFieldProperties

Defined in:

Temp-Table eIndex

Defined in:

Temp-Table eIndexProperties

Defined in:

Temp-Table eTable

Defined in:

Temp-Table eTableProperties

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:56:37