AlphaFramework API  1.0.3
Public Member Functions | Protected Member Functions | List of all members
AlphaFramework.Editor.Gui.LanguageEditor Class Reference

Allows a user to edit language localizations for the GUI More...

Inheritance diagram for AlphaFramework.Editor.Gui.LanguageEditor:
AlphaFramework.Editor.UndoCloneTab< XmlDictionary >

Public Member Functions

 LanguageEditor (string filePath, bool overwrite)
 Creates a new GUI language editor. More...
 

Protected Member Functions

override void OnInitialize ()
 
override void OnSaveFile ()
 
override void OnDelete ()
 
override void OnUpdate ()
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 
- Protected Member Functions inherited from AlphaFramework.Editor.UndoCloneTab< XmlDictionary >
 UndoCloneTab ()
 
override void OnInitialize ()
 Called on startup to load the content for this tab from a file More...
 
override void OnChange ()
 Mark the content of this tab as changed (needs to be saved) and create a new undo-backup More...
 
override void OnUndo ()
 Called to undo the last change More...
 
override void OnRedo ()
 Called to redo the last undone change More...
 

Additional Inherited Members

- Protected Attributes inherited from AlphaFramework.Editor.UndoCloneTab< XmlDictionary >
Content
 The content to be handled by the undo-system More...
 

Detailed Description

Allows a user to edit language localizations for the GUI

Constructor & Destructor Documentation

◆ LanguageEditor()

AlphaFramework.Editor.Gui.LanguageEditor.LanguageEditor ( string  filePath,
bool  overwrite 
)
inline

Creates a new GUI language editor.

Parameters
filePathThe path to the file to be edited.
overwritetrue if an existing file supposed to be overwritten when Tab.SaveFile is called.

Member Function Documentation

◆ Dispose()

override void AlphaFramework.Editor.Gui.LanguageEditor.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

The documentation for this class was generated from the following files: