Namespace: Consultingwerk.Windows.Framework
Class 
SmartFormFactory Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:SmartFormFactory
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jan 03 15:11:24 CET 2019
Purpose: Creates a Form instance with the given parameters
Notes:



Top Method Summary
Options Name Purpose
+ Progress.Windows.Form CreateAnnotationBasedFormInstance (IAnnotationBasedFormParameter, logical, character, character) Creates an annotation based Form instance with the given parameters
# Progress.Windows.Form CreateDynamicFormInstance (character, logical, character, character, String, IComponent>) Creates a dynamic Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, logical, character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, logical, character, character) Creates a Form instance with the given parameters
+ Progress.Windows.Form CreateInstance (character, logical, character, character, String, IComponent>) Creates a Form instance with the given parameters
# Progress.Windows.Form CreateStaticFormInstance (character, logical, character) Creates a static Form instance with the given parameters
# Progress.Windows.Form CreateStaticFormInstance (character, logical, character, character) Creates a static Form instance with the given parameters
# HANDLE FetchRepositoryObject (character) Fetches the Repository Data from either the ISmartRepositoryService or the SmartRepositoryBusinessTask
# HANDLE FetchRepositoryObject (IAnnotationBasedFormParameter) Fetches the Repository Data from either the ISmartRepositoryService or the SmartRepositoryBusinessTask
+ Progress.Windows.Form FindFormInstance (character) Locates the reference to a running Form instance
+ Progress.Windows.Form LaunchForm (character) Launches a Form
+ Progress.Windows.Form LaunchForm (character, ISmartDataSource) Launches a Form
+ Progress.Windows.Form LaunchForm (character, ISmartDataSource, logical) Launches a Form
+ Progress.Windows.Form LaunchForm (character, logical) Launches a Form
+ Progress.Windows.Form LaunchForm (character, logical, String, IComponent>) Launches a Form
+ Progress.Windows.Form LaunchForm (character, String, IComponent>) Launches a Form
# Progress.Windows.Form RenderRepositoryFormInstance (handle, logical, character, character, String, IComponent>) Creates an annotation based Form instance with the given parameters


Method Detail
Top

PUBLIC Progress.Windows.Form CreateAnnotationBasedFormInstance (IAnnotationBasedFormParameter, logical, character, character)

Purpose: Creates an annotation based Form instance with the given parameters
Notes:

Parameters:
poAnnotationBasedFormParameter Consultingwerk.SmartFramework.Repository.IAnnotationBasedFormParameter
The IAnnotationBasedFormParameter instance for the Form to launch
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED Progress.Windows.Form CreateDynamicFormInstance (character, logical, character, character, String, IComponent>)

Purpose: Creates a dynamic Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the repository Form to launch
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
poComponents System.Collections.Generic.Dictionary
The Dictionary of existing components (SmartDataAdapters)
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, logical, character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, logical, character, character)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
Returns Progress.Windows.Form
The reference to the new form instance
Top

PUBLIC Progress.Windows.Form CreateInstance (character, logical, character, character, String, IComponent>)

Purpose: Creates a Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
poComponents System.Collections.Generic.Dictionary
The Dictionary of existing components (SmartDataAdapters)
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED Progress.Windows.Form CreateStaticFormInstance (character, logical, character)

Purpose: Creates a static Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED Progress.Windows.Form CreateStaticFormInstance (character, logical, character, character)

Purpose: Creates a static Form instance with the given parameters
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
Returns Progress.Windows.Form
The reference to the new form instance
Top

PROTECTED HANDLE FetchRepositoryObject (character)

Purpose: Fetches the Repository Data from either the ISmartRepositoryService
or the SmartRepositoryBusinessTask
Notes:

Parameters:
pcObjectMaster CHARACTER
The Object Master name or guid
Returns HANDLE
The handle of the ProDataset with the repository data
Top

PROTECTED HANDLE FetchRepositoryObject (IAnnotationBasedFormParameter)

Purpose: Fetches the Repository Data from either the ISmartRepositoryService
or the SmartRepositoryBusinessTask
Notes:

Parameters:
poAnnotationBasedFormParameter Consultingwerk.SmartFramework.Repository.IAnnotationBasedFormParameter
The IAnnotationBasedFormParameter instance for the Form to launch
Returns HANDLE
The handle of the ProDataset with the repository data
Top

PUBLIC Progress.Windows.Form FindFormInstance (character)

Purpose: Locates the reference to a running Form instance
Notes: Currently only supported for StaticForm instances

Parameters:
pcObjectMaster CHARACTER
The name of the object to locate
Returns Progress.Windows.Form
The reference to the running Form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, ISmartDataSource)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
poExternalDataSource Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
The reference of the SmartDataSource to use of the ExternalDataSource of the SmartWindowForm
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, ISmartDataSource, logical)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
poExternalDataSource Consultingwerk.SmartComponents.Interfaces.ISmartDataSource
The reference of the SmartDataSource to use of the ExternalDataSource of the SmartWindowForm
plModal LOGICAL
Logical value indicating if the Form should be started modally
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, logical)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plModal LOGICAL
Logical value indicating if the Form should be started modally
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, logical, String, IComponent>)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
plModal LOGICAL
Logical value indicating if the Form should be started modally
poComponents System.Collections.Generic.Dictionary
The Dictionary of existing components (SmartDataAdapters)
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PUBLIC Progress.Windows.Form LaunchForm (character, String, IComponent>)

Purpose: Launches a Form
Notes:

Parameters:
pcClassName CHARACTER
The name of the Form to launch (static class name or repository object name)
poComponents System.Collections.Generic.Dictionary
The Dictionary of existing components (SmartDataAdapters)
Returns Progress.Windows.Form
The reference to the launched form instance
Top

PROTECTED Progress.Windows.Form RenderRepositoryFormInstance (handle, logical, character, character, String, IComponent>)

Purpose: Creates an annotation based Form instance with the given parameters
Notes:

Parameters:
phRepositoryData HANDLE
The handle of the Repository Data to render
plUseCharacterParameterValue LOGICAL
Logical value indicating if the routine should use the character parameter to the Form
pcCharacterParameterValue CHARACTER
The optional character parameter value to the form
pcFormAction CHARACTER
The FormAction for this form instance
poComponents System.Collections.Generic.Dictionary
The Dictionary of existing components (SmartDataAdapters)
Returns Progress.Windows.Form
The reference to the new form instance


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:30:19