Top Method Summary
Options Name Purpose
CreateEventHandlerMethod () Creates a client-side event handler method in the Logic Object
GenerateLogicObject () Generates the Logic Object
CHARACTER GetLogicObjectType (ISmartRepositoryService) Returns the object type the Logic Object template is selected by
LOGICAL IsClientSideEventSelected () Returns if the currently selected attribute is an unhandled client-side event
OpenGeneratedClass (IIdeSupportService) Opens the Logic Object or the server-side event handler class in the selected IDE
Startup (SmartObjectMasterForm, SmartToolbarController, handle) Method called when then SmartObjectMasterForm is started
ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick Event of the ToolbarsController
ValidateButtonEnabled () Validates the Enabled State of the Ribbon Buttons
WriteEventAttribute (character) Writes the event handler value into the selected event attribute

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


Method Detail
Top

CreateEventHandlerMethod ()

Purpose: Creates a client-side event handler method in the Logic Object
Notes: SCL-4372 section 8 - the method name is proposed by the generator
and can be overridden in the prompt

Top

GenerateLogicObject ()

Purpose: Generates the Logic Object
Notes:

Top

CHARACTER GetLogicObjectType (ISmartRepositoryService)

Purpose: Returns the object type the Logic Object template is selected by
Notes:

Parameters:
poRepository Consultingwerk.SmartFramework.Repository.ISmartRepositoryService
The reference to the ISmartRepositoryService
Returns CHARACTER
The object type name, or the empty string when the container is of no supported type
Top

LOGICAL IsClientSideEventSelected ()

Purpose: Returns if the currently selected attribute is an unhandled client-side event
Notes: SCL-4372 section 8

Returns LOGICAL
Logical value indicating if a client-side handler method can be generated
Top

OpenGeneratedClass (IIdeSupportService)

Purpose: Opens the Logic Object or the server-side event handler class in the selected IDE
Notes: SCL-4372 section 4.1 - when both classes exist the developer is
asked which of the two to open

Parameters:
poIdeService Consultingwerk.Studio.IdeSupport.IIdeSupportService
The IdeService to open the generated class with
Top

Startup (SmartObjectMasterForm, SmartToolbarController, handle)

Purpose: Method called when then SmartObjectMasterForm is started
Notes:

Parameters:
poForm Consultingwerk.Windows.Framework.Repository.Object.SmartObjectMasterForm
The reference to the SmartObjectMasterForm instance
poToolbar Consultingwerk.SmartComponents.Implementation.SmartToolbarController
The reference to the SmartToolbarController instance
phDataset HANDLE
The handle of the dsObjectMaster dataset
Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick Event of the ToolbarsController
Notes:

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

ValidateButtonEnabled ()

Purpose: Validates the Enabled State of the Ribbon Buttons
Notes: SCL-4372 - "Generate Logic Object" and the "Open in ..." buttons
are mutually exclusive: the first is offered while the LogicObject
attribute is empty, the latter once one of the generated classes exists

Top

WriteEventAttribute (character)

Purpose: Writes the event handler value into the selected event attribute
Notes: SCL-4372

Parameters:
pcValue CHARACTER
The value to store in the event attribute


Constructor Detail
Top

GenerateLogicObjectPlugin ()

Purpose: Constructor for the GenerateLogicObjectPlugin class
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:22:16