Namespace: Consultingwerk.Windows.Framework.System
Class 
MenuTranslationMaintenanceControl Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartComponents.Base.SmartUserControl
Implements: IHasDesignerVerbs

File:MenuTranslationMaintenanceControl
Author(s):Sebastian Wandel / Consultingwerk Ltd.
Created:Fri Jun 04 10:44:50 CEST 2021



Top Method Summary
Options Name Purpose
+ Cancel () Cancels pending changes
- ClearTree () Clears the tree
# CreateVerbs () Creates Designer Verbs based on the DesignerVerbs property
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ System.Collections.Generic.List <System.ComponentModel.Component> GetAllComponents () Returns a List of all Components in the Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
- GetTranslationData () Get Translation data for the selected languages
- InitializeComponent () Initializes the Visual Design
# OnHasPendingChangesChanged (EventArgs) Raises the HasPendingChangesChanged event
# OnLoad (EventArgs) Raises the Load event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ OnVerbClicked (character) Event Handler method for Designer Verbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ OpenLanguageMaintenance (CharacterDictionary) Opens the translations for the given languages identified by the entries in the provided CharacterList instance
# ParentFormDestroyedHandler (Object, EventArgs) Event handler for the FormDestroyed event of the owning Form
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
- PopulateNodeCells (UltraTreeNode, BUFFER) Populates a nodes cells
# PopulateTree () Populates the UltraTree
+ Reload () Reloads translations for the current languages
- SelectFirstEntry () Selects the first row in the UltraTree
- SetHeader (UltraTreeNode) Sets the names and flags of the UltraTrees columns
- SetupNodeLevelLayout () Sets up the UltraTrees columns
+ StoreTranslationData () Store changed Translation data to the database
+ SubscribeParentFormDestroyed () Subscribes the ParentFormDestroyed event
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# SubscribeUserControlEvents () Allows for custom event subscriptions during OnLoad()
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
- ultraTree1_AfterCellExitEditMode (Object, AfterCellExitEditModeEventArgs) Synchronizes the dataset with the UltraTrees cells after an edit
- ultraTree1_CellValueChanged (Object, CellValueChangedEventArgs) Event handler for the CellValueChanged event of the ultraTree1

Top Constructor Summary
Options Name Purpose
+ MenuTranslationMaintenanceControl () Initializes the MenuTranslationMaintenanceControl class

Top Event Summary
Options Name Purpose
+ HasPendingChangesChanged (Object, EventArgs) Raised when the HasPendingChanges property has changed

Top Property Summary
Options Name Purpose
# CHARACTER DesignerVerbs
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL DesignTime
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
+ LOGICAL HasPendingChanges
# CHARACTER HiddenProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# CHARACTER NonBrowsableProperties
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL ParentFormDestroyedSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
# LOGICAL UserControlEventsSubscribed
Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl


Method Detail
Top

PUBLIC Cancel ()

Purpose: Cancels pending changes
Notes: Reloads current translations

Top

PRIVATE ClearTree ()

Purpose: Clears the tree
Notes:

Top

PROTECTED CreateVerbs ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Creates Designer Verbs based on the DesignerVerbs property
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

PRIVATE GetTranslationData ()

Purpose: Get Translation data for the selected languages
Notes:

Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED OnHasPendingChangesChanged (EventArgs)

Purpose: Raises the HasPendingChangesChanged event
Notes:

Parameters:
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event
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

PUBLIC OnVerbClicked (character)

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Event Handler method for Designer Verbs
Notes: This method is intended to be overridden

Parameters:
pcDesignerVerb CHARACTER
The name (Label) of the Designer Verb that was invoked
Top

PUBLIC OpenLanguageMaintenance (CharacterDictionary)

Purpose: Opens the translations for the given languages
identified by the entries in the provided CharacterList instance
Notes:

Parameters:
poLanguageList Consultingwerk.Framework.Collections.CharacterDictionary
The CharacterList providing the GUID's of the Languages to load
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

PRIVATE PopulateNodeCells (UltraTreeNode, BUFFER)

Purpose: Populates a nodes cells
Notes:

Parameters:
poNode Infragistics.Win.UltraWinTree.UltraTreeNode
The node to populate
pbMenu BUFFER
The ttMenu buffer with which to populate the node
Top

PROTECTED PopulateTree ()

Purpose: Populates the UltraTree
Notes:

Top

PUBLIC Reload ()

Purpose: Reloads translations for the current languages
Notes:

Top

PRIVATE SelectFirstEntry ()

Purpose: Selects the first row in the UltraTree
Notes:

Top

PRIVATE SetHeader (UltraTreeNode)

Purpose: Sets the names and flags of the UltraTrees columns
Notes:

Parameters:
poNode Infragistics.Win.UltraWinTree.UltraTreeNode
The node whose columns headers are set
Top

PRIVATE SetupNodeLevelLayout ()

Purpose: Sets up the UltraTrees columns
Notes:

Top

PUBLIC StoreTranslationData ()

Purpose: Store changed Translation data to the database
Notes:

Top

PUBLIC SubscribeParentFormDestroyed ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Subscribes the ParentFormDestroyed event
Notes:

Top

PROTECTED SubscribeUserControlEvents ()

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl
Purpose: Allows for custom event subscriptions during OnLoad()
Notes: Intended to be overridden in the inheriting user control

Top

PRIVATE ultraTree1_AfterCellExitEditMode (Object, AfterCellExitEditModeEventArgs)

Purpose: Synchronizes the dataset with the UltraTrees cells after an edit
Notes:

Parameters:
sender System.Object
The source of the event
e Infragistics.Win.UltraWinTree.AfterCellExitEditModeEventArgs
The AfterCellExitEditModeEventArgs with the data for the event
Top

PRIVATE ultraTree1_CellValueChanged (Object, CellValueChangedEventArgs)

Purpose: Event handler for the CellValueChanged event of the ultraTree1
Notes:

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


Constructor Detail
Top

PUBLIC MenuTranslationMaintenanceControl ()

Purpose: Initializes the MenuTranslationMaintenanceControl class
Notes:



Event Detail
Top

PUBLIC HasPendingChangesChanged (Object, EventArgs)

Purpose: Raised when the HasPendingChanges property has changed
Notes:

Parameters:
sender Progress.Lang.Object
The object that raised the HasPendingChangesChanged event
e Consultingwerk.EventArgs
The Consultingwerk.EventArgs with the data for the event


Property Detail
Top

PROTECTED CHARACTER DesignerVerbs

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PUBLIC LOGICAL DesignTime

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PUBLIC LOGICAL HasPendingChanges


Returns LOGICAL
Top

PROTECTED CHARACTER HiddenProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED CHARACTER NonBrowsableProperties

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns CHARACTER
Top

PROTECTED LOGICAL ParentFormDestroyedSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL
Top

PROTECTED LOGICAL UserControlEventsSubscribed

Inherited from Consultingwerk.SmartComponents.Base.SmartUserControl

Returns LOGICAL


Temp-Table Detail


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