Namespace: Consultingwerk.SmartComponents.Implementation
Class 
SmartPanelController Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartUserControl
Implements: Consultingwerk.SmartComponents.Interfaces.Design.IDesignNavigationSource, Consultingwerk.SmartComponents.Interfaces.Design.IDesignTableIOSource, System.ComponentModel.ICustomTypeDescriptor, Consultingwerk.SmartComponents.Interfaces.IDoNotCheckOkToClose, IHasDesignerVerbs, Consultingwerk.SmartComponents.Interfaces.ISmartNavigationSource, Consultingwerk.SmartComponents.Interfaces.ISmartTableIOSource, Consultingwerk.SmartComponents.Interfaces.ISmartToolbarControl

File:SmartUpdatePanel
Purpose:Panel with TableIO and Navigation Buttons
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Dec 22 14:31:24 CET 2009



Top Method Summary
Options Name Purpose
+ ActivateSmartNavigationTarget (ISmartNavigationTarget) Activate the given SmartNavigationTarget if it is registered with the SmartNavigationSource.
+ ActivateSmartTableIOTarget (ISmartTableIOTarget) Activate the given SmartTableIOTarget if it is registered as a SmartTableIOSource.
+ BeginControlUpdate () Begins a series of updates to the Control
+ Infragistics.Win.UltraWinToolbars.ButtonTool CreateButtonTool (character, character, character, character) Creates a ButtonTool with Key, Caption, Customizer Caption and Image.
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ DeregisterSmartNavigationTarget (ISmartNavigationTarget) Deregisters a SmartNavigationTarget from the SmartNavigationSource.
+ DeregisterSmartTableIOTarget (ISmartTableIOTarget) Deregisters a SmartTableIOTarget with the SmartTableIOSource.
+ LOGICAL DisableControlTool (character) Disables the tool with the given Key when it exists in this instance. Invoked by DisableTools.
+ LOGICAL DisableTool (character) Disables the tool with the given Key when it exists in this instance. Invoked by DisableTools.
+ DisableTools (character) Disables a list of tools when they exist in this instance. This Method is called from within the Toolbar depending on what action has been performed and what actions are possible with the current SmartTableIOTarget and SmartNavigationTarget.
+ LOGICAL EnableControlTool (character) Enables the tool with the given Key when it exists in this instance.
+ LOGICAL EnableTool (character) Enables the tool with the given Key when it exists in this instance.
+ EnableTools (character) Enables a list of tools when they exist in this instance.
+ EndControlUpdate () Ends a series of updates to the Control
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ Consultingwerk.Framework.Collections.CharacterList GetAllToolKeys () Returns a CharacterList of all ToolKeys in the Toolbar
+ System.ComponentModel.AttributeCollection GetAttributes () Returns a collection of custom attributes for this instance of a component.
+ CHARACTER GetClassName () Returns the class name of this instance of a component.
+ CHARACTER GetComponentName () Returns the name of this instance of a component.
+ System.ComponentModel.TypeConverter GetConverter () Returns a type converter for this instance of a component.
+ System.ComponentModel.EventDescriptor GetDefaultEvent () Returns the default event for this instance of a component.
+ System.ComponentModel.PropertyDescriptor GetDefaultProperty () Returns the default property for this instance of a component.
+ System.Object GetEditor (Type) Returns an editor of the specified type for this instance of a component.
+ System.ComponentModel.EventDescriptorCollection GetEvents () Returns the events for this instance of a component.
+ System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[]) Returns the events for this instance of a component using the specified attribute array as a filter.
+ CHARACTER GetFormTypeName () Returns the type name of the Form that contains the Toolbar
+ System.ComponentModel.PropertyDescriptorCollection GetProperties () Returns the properties for this instance of a component.
+ System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[]) Returns the properties for this instance of a component using the attribute array as a filter.
+ System.Object GetPropertyOwner (PropertyDescriptor) Returns an object that contains the property described by the specified property descriptor.
+ LOGICAL GetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum) Allows to permanently disable TableIO Tools in the SmartToolbarController
+ LOGICAL HasTool (character) Returns if the Toolbar has a tool with the given key
# InitializeCaptionOfTools () Assign customized Caption CustomizerCaption and ToolTipText to the
- InitializeComponent () Initializes the Visual Design
+ Consultingwerk.SmartComponents.Implementation.TableIOTargetControl InvokeNewTableIOTargetControl () Returns a new instance of the TableIOTargetControl class
+ LOGICAL IsToolRestricted (character) Returns if the given tool is restricted by the IToolbarItemSecurityService
# Consultingwerk.SmartComponents.Implementation.TableIOTargetControl NewTableIOTargetControl () Factory method for instances of the TableIOTargetControl class
# OnLoad (EventArgs) Raises the Load event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# OnSizeChanged (EventArgs) Raises the SizeChanged event
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Overrides Consultingwerk.SmartComponents.Base.SmartUserControl:OnVerbClicked (character)
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ PerformToolbarSecurity () Performs Toolbar Security for non standard tools
+ PerformToolbarSecurity (ISmartTableIOTarget) Performs Toolbar Security
+ RaiseActiveSmartCommitTargetChanged () Raises the ActiveSmartCommitTargetChanged event
+ RegisterSmartNavigationTarget (ISmartNavigationTarget) Registers a SmartNavigationTarget with the SmartNavigationSource.
+ RegisterSmartTableIOTarget (ISmartTableIOTarget) Registers a SmartTableIOTarget with the SmartTableIOSource.
- SetDesignerProperties () Sets the Visual Designer Properties
+ SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, logical) Allows to permanently disable TableIO Tools in the SmartToolbarController
+ SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, logical) Allows to permanently disable TableIO Tools in the SmartToolbarController
+ SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical) Allows to permanently disable TableIO Tools in the SmartToolbarController
+ SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical) Allows to permanently disable TableIO Tools in the SmartToolbarController
+ SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical) Allows to permanently disable TableIO Tools in the SmartToolbarController
# ShowSmartPanelDesigner () Shows the Designer Dialog
# ToolClickHandler (Object, ToolClickEventArgs) Event handler for the ToolClick event of the ultraToolbarsManager1
# UpdateSmartNavigationTargetPosition (ISmartNavigationTarget, character) Handles the update of a Position from the SmartNavigationTarget. This Method is called from the SmartDataAdapter derived Classes if the PositionChangedHandler is executed or from inside the ISmartNavigationSource implementing class when the Method UpdateSmartNavigationTargetState or RegisterSmartNavigationTarget are executed.
+ UpdateSmartNavigationTargetPosition (Object, SmartNavigationTargetPositionChangedEventArgs) Event handler for the SmartNavigationTargetPositionChanged event of the SmartNavigationTarget
# UpdateSmartNavigationTargetState (ISmartNavigationTarget, character) Handles the update of a State from the SmartNavigationTarget. This Method is called from the SmartDataAdapter derived Classes if the Property setter of SmartDataSourceState is executed.
+ UpdateSmartNavigationTargetState (Object, SmartNavigationTargetStateChangedEventArgs) Event handler for the SmartNavigationTargetStateChanged event
# UpdateSmartTableIOState (ISmartTableIOTarget, character) Handles the update of a State from the SmartTableIOTarget. This Method is called from the SmartViewerControl derived Classes if the Property setter of SmartTableIOState is executed.
# UpdateSmartTableIOState (Object, SmartTableIOStateChangedEventArgs) Event handler for the SmartTableIOStateChange event of the TableIO Target
# UpdateTransactionState () Updates the Buttons based on the TransactionState of the current SmartCommitTarget

Top Constructor Summary
Options Name Purpose
+ SmartPanelController () Constructor for the SmartPanelController class

Top Property Summary
Options Name Purpose
+ Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ActiveSmartNavigationTarget Returns a reference to the current active SmartNavigationTarget
+ Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget ActiveSmartTableIOTarget Returns a reference to the current active SmartTableIOTarget
# CHARACTER BindableProperties Property that is used to mark properties (comma-delimited list) that should be Data-Bindable
# CHARACTER CategorizedProperties Property that is used to mark properties (comma-delimited list) that should receive a Category attribute
# CHARACTER CategoryProperties Categories of the Property in the CategorizedProperty list
# CHARACTER DescribedProperties Property that is used to mark properties (comma-delimited list) that should receive a Description attribute
# CHARACTER DescriptionProperties Description of the Property in the DescribedProperties list
# CHARACTER DesignerVerbs Property that is used to generate Designer Verbs (actions for the Visual Designer)
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER DesignerVisibilityAttributes The CHARACTER representation of the DesignerSerializationVisibiltiy attribute (Content/Visible/Hidden), see .NET Enumeration System.ComponentModel.DesignerSerializationVisibility
# CHARACTER DesignerVisibilityProperties Property that is used to mark properties (comma-delimited list) that should receive a DesignerSerializationVisibility Attribute
+ LOGICAL DesignTime Propery flags if the current instance of the SmartBindingSource is running at design time or runtime.
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER HiddenProperties Property that is used to mark properties (comma-delimited list) that will be excluded from the .NET TypeDescriptor properties list
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ Consultingwerk.SmartComponents.Implementation.ListTableIOTargetControl ListTableIOTargetControl Returns the List of TableIOTargetControl instances
+ Infragistics.Win.UltraWinToolbars.ToolsCollection NavigationTools Allows access to the Toolinstances of the Navigation Toolbar
# CHARACTER NonBrowsableProperties Property that is used to mark properties (comma-delimited list) that should not show up in the Visual Designers Property Grid
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL ParentFormDestroyedSubscribed Returns if the FormDestroyed evengt of the containing Form has been subscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ Infragistics.Win.UltraWinToolbars.RootToolsCollection RootTools Allows access to the Toolinstances of the Navigation Toolbar
+ LOGICAL ShowNavigationTools Controls the visibility of the Navigation Toolbar
+ LOGICAL ShowTableIOTools Controls the visibility of the TableIO Toolbar
+ LOGICAL SmartPanelDesigner Invokes the SmartPanelDesigner Dialog
+ Consultingwerk.SmartComponents.Base.ListISmartTableIOTarget SmartTableIOTargets Returns the List of SmartTableIOTargets as a generic List
+ Infragistics.Win.UltraWinToolbars.ToolsCollection TableIOTools Allows access to the Toolinstances of the Navigation Toolbar
+ Infragistics.Win.UltraWinToolbars.ToolbarsCollection Toolbars Allows access to the Toolbars collection
+ CHARACTER VisibleNavigationTools Allows to control the Visible Navigation tools and their relative order
+ CHARACTER VisibleTableIOTools Allows to control the Visible TableIO tools and their relative order


Method Detail
Top

PUBLIC ActivateSmartNavigationTarget (ISmartNavigationTarget)

Purpose: Activate the given SmartNavigationTarget if it is registered with
the SmartNavigationSource.
Notes: This Method has to be called if one Toolbar handels two or more
SmartDataSources at a time.
Enforced by Interface ISmartNavigationSource.

Parameters:
poSmartNavigationTarget Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
The ISmartNavigationTarget instance to activate
Top

PUBLIC ActivateSmartTableIOTarget (ISmartTableIOTarget)

Purpose: Activate the given SmartTableIOTarget if it is registered as a
SmartTableIOSource.
Notes: This Method has to be called if one Toolbar handels two or more
SmartDataSources at a time.
Enforced by the Interface ISmartTableIOSource.

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The ISmartTableIOTarget to activate
Top

PUBLIC BeginControlUpdate ()

Purpose: Begins a series of updates to the Control
Notes:

Top

PUBLIC Infragistics.Win.UltraWinToolbars.ButtonTool CreateButtonTool (character, character, character, character)

Purpose: Creates a ButtonTool with Key, Caption, Customizer Caption and
Image.
Notes: This Method is executed by CreateSmartNavigationTools and
CreateSmartTableIOTools when adding Navigation and TableIO Toolbars
to the SmartToolbarController.
Used to create the default Navigation and TableIO tools

Parameters:
pcButtonKey CHARACTER
Key used to identify the Button
pcButtonCaption CHARACTER
The Caption of the Button
pcButtonCustomizerCaption CHARACTER
The CustomizerCaption of the Button
pcButtonImage CHARACTER
The Image of the Button
Returns Infragistics.Win.UltraWinToolbars.ButtonTool
The reference to the new ButtonTool
Top

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
Notes:

Top

PUBLIC DeregisterSmartNavigationTarget (ISmartNavigationTarget)

Purpose: Deregisters a SmartNavigationTarget from the SmartNavigationSource.
Notes:

Parameters:
poSmartNavigationTarget Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
The ISmartNavigationTarget to deregister
Top

PUBLIC DeregisterSmartTableIOTarget (ISmartTableIOTarget)

Purpose: Deregisters a SmartTableIOTarget with the SmartTableIOSource.
Notes:

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The ISmartTableIOTarget to deregister
Top

PUBLIC LOGICAL DisableControlTool (character)

Purpose: Disables the tool with the given Key when it exists in this instance.
Invoked by DisableTools.
Notes:

Parameters:
pcToolKey CHARACTER
Returns LOGICAL
True if the Tool exists, False if the Tool does not Exist
Top

PUBLIC LOGICAL DisableTool (character)

Purpose: Disables the tool with the given Key when it exists in this instance.
Invoked by DisableTools.
Notes:

Parameters:
pcToolKey CHARACTER
Returns LOGICAL
True if the Tool exists, False if the Tool does not Exist
Top

PUBLIC DisableTools (character)

Purpose: Disables a list of tools when they exist in this instance.
This Method is called from within the Toolbar depending on what
action has been performed and what actions are possible with the
current SmartTableIOTarget and SmartNavigationTarget.
Notes:

Parameters:
pcToolKeys CHARACTER
Comma delimeted list of ButtonTool Keys to be disabled
Top

PUBLIC LOGICAL EnableControlTool (character)

Purpose: Enables the tool with the given Key when it exists in this instance.
Notes: Invoked by the SmartToolbarStateController:EnableTool. Does not check
for any further authentication

Parameters:
pcToolKey CHARACTER
Returns LOGICAL
True if the Tool exists, False if the Tool does not Exist
Top

PUBLIC LOGICAL EnableTool (character)

Purpose: Enables the tool with the given Key when it exists in this instance.
Notes: Invoked by EnableTools.

Parameters:
pcToolKey CHARACTER
Returns LOGICAL
True if the Tool exists, False if the Tool does not Exist
Top

PUBLIC EnableTools (character)

Purpose: Enables a list of tools when they exist in this instance.
Notes: This Method is called from within the Toolbar depending on what
action has been performed and what actions are possible with the
current SmartTableIOTarget and SmartNavigationTarget.

Parameters:
pcToolKeys CHARACTER
Comma delimeted list of ButtonTool Keys to be disabled
Top

PUBLIC EndControlUpdate ()

Purpose: Ends a series of updates to the Control
Notes:

Top

PUBLIC System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Returns a List of all Components in the Form
Notes: Supported on OpenEdge 11 only, due to dependency to the ComponentsCollection
list not available on 10.2B

Returns System.Collections.Generic.List <System.ComponentModel.Component>
The List of Components in the Form
Top

PUBLIC Consultingwerk.Framework.Collections.CharacterList GetAllToolKeys ()

Purpose: Returns a CharacterList of all ToolKeys in the Toolbar
Notes:

Returns Consultingwerk.Framework.Collections.CharacterList
The CharacterList of all ToolKeys in the Toolbar
Top

PUBLIC System.ComponentModel.AttributeCollection GetAttributes ()

Purpose: Returns a collection of custom attributes for this instance of a
component.
Notes:

Returns System.ComponentModel.AttributeCollection
The System.ComponentModel.AttributeCollection describing the types attributes
Top

PUBLIC CHARACTER GetClassName ()

Purpose: Returns the class name of this instance of a component.
Notes:

Returns CHARACTER
The class name of the Component
Top

PUBLIC CHARACTER GetComponentName ()

Purpose: Returns the name of this instance of a component.
Notes:

Returns CHARACTER
The Component Name of this instance
Top

PUBLIC System.ComponentModel.TypeConverter GetConverter ()

Purpose: Returns a type converter for this instance of a component.
Notes:

Returns System.ComponentModel.TypeConverter
The System.ComponentModel.TypeConverter for this instance of a component.
Top

PUBLIC System.ComponentModel.EventDescriptor GetDefaultEvent ()

Purpose: Returns the default event for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptor
The System.ComponentModel.EventDescriptor for the default event of this component
Top

PUBLIC System.ComponentModel.PropertyDescriptor GetDefaultProperty ()

Purpose: Returns the default property for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptor
The System.ComponentModel.PropertyDescriptor for the default property of the component
Top

PUBLIC System.Object GetEditor (Type)

Purpose: Returns an editor of the specified type for this instance of a
component.
Notes:

Parameters:
editorBaseType System.Type
A System.Type that represents the editor for this object.
Returns System.Object
The reference to the Editor of the type of the component instance
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents ()

Purpose: Returns the events for this instance of a component.
Notes:

Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC System.ComponentModel.EventDescriptorCollection GetEvents (Attribute[])

Purpose: Returns the events for this instance of a component using the
specified attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.EventDescriptorCollection
The System.ComponentModel.EventDescriptorCollection describing the events of the component
Top

PUBLIC CHARACTER GetFormTypeName ()

Purpose: Returns the type name of the Form that contains the Toolbar
Notes:

Returns CHARACTER
The type name of the Form that contains the Toolbar
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties ()

Purpose: Returns the properties for this instance of a component.
Notes:

Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.ComponentModel.PropertyDescriptorCollection GetProperties (Attribute[])

Purpose: Returns the properties for this instance of a component using the
attribute array as a filter.
Notes:

Parameters:
attributes System.Attribute[]
A System.Attribute[] that is used as a filter.
Returns System.ComponentModel.PropertyDescriptorCollection
A System.ComponentModel.PropertyDescriptorCollection that represents the properties for this component instance.
Top

PUBLIC System.Object GetPropertyOwner (PropertyDescriptor)

Purpose: Returns an object that contains the property described by the
specified property descriptor.
Notes:

Parameters:
pd System.ComponentModel.PropertyDescriptor
A System.ComponentModel.PropertyDescriptor that represents the property whose owner is to be found.
Returns System.Object
An System.Object that represents the owner of the specified property.
Top

PUBLIC LOGICAL GetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
Returns LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PUBLIC LOGICAL HasTool (character)

Purpose: Returns if the Toolbar has a tool with the given key
Notes:

Parameters:
pcToolKey CHARACTER
The key of the tool to check for
Returns LOGICAL
Logical value indicating if the tool has a key with the given name
Top

PROTECTED InitializeCaptionOfTools ()

Purpose: Assign customized Caption CustomizerCaption and ToolTipText to the
Notes: Tools of the Toolbar.
Invoked by the Method OnEndInit

Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PUBLIC Consultingwerk.SmartComponents.Implementation.TableIOTargetControl InvokeNewTableIOTargetControl ()

Purpose: Returns a new instance of the TableIOTargetControl class
Notes:

Returns Consultingwerk.SmartComponents.Implementation.TableIOTargetControl
The reference to the new instance of the TableIOTargetControl class
Top

PUBLIC LOGICAL IsToolRestricted (character)

Purpose: Returns if the given tool is restricted by the IToolbarItemSecurityService
Notes: Requires EndInit() to be executed first, not applicable to the
TableIO Tools as they are maintaind on a per SmartTableIOTarget base
IToolbarItemSecurityService service

Parameters:
pcToolKey CHARACTER
The key of the tool to test
Returns LOGICAL
Logical value indicating of the given tool is restricted by the
Top

PROTECTED Consultingwerk.SmartComponents.Implementation.TableIOTargetControl NewTableIOTargetControl ()

Purpose: Factory method for instances of the TableIOTargetControl class
Notes: Allows customers to return an extended version of the class in a custom
variant of the SmartToolbarController class

Returns Consultingwerk.SmartComponents.Implementation.TableIOTargetControl
The new instance of the TableIOTargetControl class
Top

PROTECTED OnLoad (EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Raises the Load event
Notes: Subscribes the FormDestroyed event from the ParentForm

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

PROTECTED OnSizeChanged (EventArgs)

Purpose: Raises the SizeChanged event
Notes:

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

PUBLIC OnVerbClicked (character)

Overrides Consultingwerk.SmartComponents.Base.SmartUserControl:OnVerbClicked (character)
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcVerbText CHARACTER
The text indicating the verb that was clicked
Top

PROTECTED ParentFormDestroyedHandler (Object, EventArgs)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event handler for the FormDestroyed event of the owning Form
Notes:

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

PUBLIC PerformToolbarSecurity ()

Purpose: Performs Toolbar Security for non standard tools
Notes:

Top

PUBLIC PerformToolbarSecurity (ISmartTableIOTarget)

Purpose: Performs Toolbar Security
Notes:

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The ISmartTableIOTarget to perform authorization for
Top

PUBLIC RaiseActiveSmartCommitTargetChanged ()

Purpose: Raises the ActiveSmartCommitTargetChanged event
Notes:

Top

PUBLIC RegisterSmartNavigationTarget (ISmartNavigationTarget)

Purpose: Registers a SmartNavigationTarget with the SmartNavigationSource.
Notes: This Method is invoked by the SmartDataAdapter in the setter of
the Property SmartNavigationSource.
Enforced by the Interface ISmartNavigationSource.

Parameters:
poSmartNavigationTarget Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
The ISmartNavigationTarget to register
Top

PUBLIC RegisterSmartTableIOTarget (ISmartTableIOTarget)

Purpose: Registers a SmartTableIOTarget with the SmartTableIOSource.
Notes: This Method is invoked by the SmartDataAdapter in the setter of
the Property SmartTableIOSource.
Enforced by the Interface ISmartTableIOSource.

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The ISmartTableIOTarget to register
Top

PRIVATE SetDesignerProperties ()

Purpose: Sets the Visual Designer Properties
Notes:

Top

PUBLIC SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, logical)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
plDisabled LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PUBLIC SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, logical)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction2 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
plDisabled LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PUBLIC SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction2 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction3 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
plDisabled LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PUBLIC SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction2 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction3 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction4 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
plDisabled LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PUBLIC SetTableIOActionDisabled (ISmartTableIOTarget, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, TableIOActionEnum, logical)

Purpose: Allows to permanently disable TableIO Tools in the SmartToolbarController
Notes: Useful for applying security settings to the toolbar
http://confluence.consultingwerkcloud.com/wiki/pages/viewpage.action?pageId=722342
See http://jira.consultingwerkcloud.com/browse/SCL-442 for details on
extending this for custom buttons

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the ISmartTableIOTarget for this an action should be disabled
poTableIOAction Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction2 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction3 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction4 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
poTableIOAction5 Consultingwerk.SmartComponents.Enum.TableIOActionEnum
The TableIOActionEnum member identifying the action to enable/disable
plDisabled LOGICAL
Logical value indicating if the tool should be disabled. Set to FALSE to enable the tool
Top

PROTECTED ShowSmartPanelDesigner ()

Purpose: Shows the Designer Dialog
Notes:

Top

PROTECTED ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event handler for the ToolClick event of the ultraToolbarsManager1
Notes: Depending on which ButtonTool has been clicked the corresponding
action is performed by calling a routine in the active
SmartNavigationTarget or SmartTableIOTarget.
This Method is executed as the Handler if the ToolClick Event of
the base class is fired.

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

PROTECTED UpdateSmartNavigationTargetPosition (ISmartNavigationTarget, character)

Purpose: Handles the update of a Position from the SmartNavigationTarget.
This Method is called from the SmartDataAdapter derived Classes
if the PositionChangedHandler is executed or from inside the
ISmartNavigationSource implementing class when the Method
UpdateSmartNavigationTargetState or RegisterSmartNavigationTarget
are executed.
Notes: Enforced by Interface ISmartNavigationSource.

Parameters:
poSmartNavigationTarget Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
The reference to the current SmartNavigationTarget
pcPosition CHARACTER
The RecordPositionEnum member indicating the new navigation target position
Top

PUBLIC UpdateSmartNavigationTargetPosition (Object, SmartNavigationTargetPositionChangedEventArgs)

Purpose: Event handler for the SmartNavigationTargetPositionChanged event of the SmartNavigationTarget
Notes:

Parameters:
sender System.Object
The reference to the object that raised the evnet
e Consultingwerk.SmartComponents.Base.SmartNavigationTargetPositionChangedEventArgs
The SmartNavigationTargetPositionChangedEventArgs instance with the data for this event
Top

PROTECTED UpdateSmartNavigationTargetState (ISmartNavigationTarget, character)

Purpose: Handles the update of a State from the SmartNavigationTarget.
This Method is called from the SmartDataAdapter derived Classes
if the Property setter of SmartDataSourceState is executed.
Notes: Enforced by Interface ISmartNavigationSource.

Parameters:
poSmartNavigationTarget Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
The reference to the current SmartNavigationTarget
pcState CHARACTER
The RecordPositionEnum member indicating the new navigation target state, Updating or Navigatable
Top

PUBLIC UpdateSmartNavigationTargetState (Object, SmartNavigationTargetStateChangedEventArgs)

Purpose: Event handler for the SmartNavigationTargetStateChanged event
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Base.SmartNavigationTargetStateChangedEventArgs
The SmartNavigationTargetStateChangedEventArgs instance with the data for this event
Top

PROTECTED UpdateSmartTableIOState (ISmartTableIOTarget, character)

Purpose: Handles the update of a State from the SmartTableIOTarget.
This Method is called from the SmartViewerControl derived Classes
if the Property setter of SmartTableIOState is executed.
Notes: Enforced by Interface ISmartTableIOSource.

Parameters:
poSmartTableIOTarget Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
The reference to the current ISmartTableIOTarget
pcSmartTableIOState CHARACTER
The current state of the SmartTableIOTarget instance, e.g. AddCopyAllowed, FieldsDisabled, FieldsEnabled, ModifyingData, NoDataSource
Top

PROTECTED UpdateSmartTableIOState (Object, SmartTableIOStateChangedEventArgs)

Purpose: Event handler for the SmartTableIOStateChange event of the TableIO
Target
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Consultingwerk.SmartComponents.Base.SmartTableIOStateChangedEventArgs
The SmartTableIOStateChangedEventArgs instance with the data for this event
Top

PROTECTED UpdateTransactionState ()

Purpose: Updates the Buttons based on the TransactionState of the current SmartCommitTarget
Notes:



Constructor Detail
Top

PUBLIC SmartPanelController ()

Purpose: Constructor for the SmartPanelController class
Notes:



Property Detail
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget ActiveSmartNavigationTarget

Purpose: Returns a reference to the current active SmartNavigationTarget
Notes:

Returns Consultingwerk.SmartComponents.Interfaces.ISmartNavigationTarget
Top

PUBLIC Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget ActiveSmartTableIOTarget

Purpose: Returns a reference to the current active SmartTableIOTarget
Notes:

Returns Consultingwerk.SmartComponents.Interfaces.ISmartTableIOTarget
Top

PROTECTED CHARACTER BindableProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should be Data-Bindable
Notes: C# Annotation: [Bindable(true)]

Returns CHARACTER
Top

PROTECTED CHARACTER CategorizedProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Category attribute
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER CategoryProperties

Purpose: Categories of the Property in the CategorizedProperty list
Notes: C# Annotation: [Category("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DescribedProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a Description attribute
Notes: C# Annotation: [Description("...")]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DescriptionProperties

Purpose: Description of the Property in the DescribedProperties list
Notes: C# Annotation: [Description("...")]
This is a CHR(1) delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Property that is used to generate Designer Verbs (actions for the
Visual Designer)
Notes:

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityAttributes

Purpose: The CHARACTER representation of the DesignerSerializationVisibiltiy
attribute (Content/Visible/Hidden), see .NET Enumeration
System.ComponentModel.DesignerSerializationVisibility
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PROTECTED CHARACTER DesignerVisibilityProperties

Purpose: Property that is used to mark properties (comma-delimited list) that
should receive a DesignerSerializationVisibility Attribute
Notes: C# Annotation: [DesignerSerializationVisibility(...)]
This is a comma delimited list

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Propery flags if the current instance of the SmartBindingSource
is running at design time or runtime.
Notes: Set during constructor using a check at the
System.ComponentModel.LicenseManager

Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Property that is used to mark properties (comma-delimited list) that
will be excluded from the .NET TypeDescriptor properties list
Notes:

Returns CHARACTER
Top

PUBLIC Consultingwerk.SmartComponents.Implementation.ListTableIOTargetControl ListTableIOTargetControl

Purpose: Returns the List of TableIOTargetControl instances
Notes: See http://jira.consultingwerkcloud.com/browse/SCL-442 for details

Returns Consultingwerk.SmartComponents.Implementation.ListTableIOTargetControl
Top

PUBLIC Infragistics.Win.UltraWinToolbars.ToolsCollection NavigationTools

Purpose: Allows access to the Toolinstances of the Navigation Toolbar
Notes:

Returns Infragistics.Win.UltraWinToolbars.ToolsCollection
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Property that is used to mark properties (comma-delimited list) that
should not show up in the Visual Designers Property Grid
Notes:

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Returns if the FormDestroyed evengt of the containing Form has been
subscribed
Notes:

Returns LOGICAL
Top

PUBLIC Infragistics.Win.UltraWinToolbars.RootToolsCollection RootTools

Purpose: Allows access to the Toolinstances of the Navigation Toolbar
Notes:

Returns Infragistics.Win.UltraWinToolbars.RootToolsCollection
Top

PUBLIC LOGICAL ShowNavigationTools

Purpose: Controls the visibility of the Navigation Toolbar
Notes:

Returns LOGICAL
Top

PUBLIC LOGICAL ShowTableIOTools

Purpose: Controls the visibility of the TableIO Toolbar
Notes:

Returns LOGICAL
Top

PUBLIC LOGICAL SmartPanelDesigner

Purpose: Invokes the SmartPanelDesigner Dialog
Notes:

Returns LOGICAL
Top

PUBLIC Consultingwerk.SmartComponents.Base.ListISmartTableIOTarget SmartTableIOTargets

Purpose: Returns the List of SmartTableIOTargets as a generic List
Notes:

Returns Consultingwerk.SmartComponents.Base.ListISmartTableIOTarget
Top

PUBLIC Infragistics.Win.UltraWinToolbars.ToolsCollection TableIOTools

Purpose: Allows access to the Toolinstances of the Navigation Toolbar
Notes:

Returns Infragistics.Win.UltraWinToolbars.ToolsCollection
Top

PUBLIC Infragistics.Win.UltraWinToolbars.ToolbarsCollection Toolbars

Purpose: Allows access to the Toolbars collection
Notes:

Returns Infragistics.Win.UltraWinToolbars.ToolbarsCollection
Top

PUBLIC CHARACTER VisibleNavigationTools

Purpose: Allows to control the Visible Navigation tools and their relative order
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER VisibleTableIOTools

Purpose: Allows to control the Visible TableIO tools and their relative order
Notes:

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:32:54