C# Class AGS.Editor.Components.TranslationsComponent

Inheritance: AGS.Editor.Components.BaseComponent
Datei anzeigen Open project: adventuregamestudio/ags

Public Methods

Method Description
CommandClick ( string controlID ) : void
GetContextMenu ( string controlID ) : IList
PropertyChanged ( string propertyName, object oldValue ) : void
RefreshDataFromGame ( ) : void
TranslationsComponent ( GUIController guiController, AGSEditor agsEditor ) : System

Private Methods

Method Description
AGSEditor_PreCompileGame ( PreCompileGameEventArgs evArgs ) : void
AddTreeLeafForTranslation ( string key, AGS.Types.Translation item ) : void
CheckAllTranslationsAreWritable ( ) : bool
CompileTranslation ( AGS.Types.Translation translation, CompileMessages errors ) : void
ConvertEscapedCharacters ( string scriptStyleString ) : string
DoTranslationUpdate ( IList translations ) : void
GetFreeNameForTranslation ( ) : string
ProjectTree_OnAfterLabelEdit ( string commandID, ProjectTreeItem treeItem ) : void
RePopulateTreeView ( ) : void
ReplaceGameTextWithTranslation ( AGS.Types.Translation translation ) : void
ReplaceGameTextWithTranslationProcess ( object translationAsObj ) : object
StartRename ( AGS.Types.Translation itemToRename, string nodeID ) : void
UpdateAllTranslationsWithNewDefaultText ( string>.Dictionary textChanges, CompileMessages errors ) : void
UpdateTranslations ( IList translations ) : void
UpdateTranslationsProcess ( object translationList ) : object
_timer_Tick ( object sender, EventArgs e ) : void

Method Details

CommandClick() public method

public CommandClick ( string controlID ) : void
controlID string
return void

GetContextMenu() public method

public GetContextMenu ( string controlID ) : IList
controlID string
return IList

PropertyChanged() public method

public PropertyChanged ( string propertyName, object oldValue ) : void
propertyName string
oldValue object
return void

RefreshDataFromGame() public method

public RefreshDataFromGame ( ) : void
return void

TranslationsComponent() public method

public TranslationsComponent ( GUIController guiController, AGSEditor agsEditor ) : System
guiController GUIController
agsEditor AGSEditor
return System