C# Class GnomeSubtitles.Ui.Edit.SubtitleEditTranslation

Inheritance: SubtitleEditTextView
Show file Open project: GNOME/gnome-subtitles Class Usage Examples

Public Methods

Method Description
SubtitleEditTranslation ( Gtk.TextView textView ) : GnomeSubtitles.Core

Protected Methods

Method Description
ChangeSubtitleTextContent ( Subtitle subtitle, string text ) : void
ExecuteDeleteCommand ( int index, string text, int cursor ) : void
ExecuteInsertCommand ( int index, string text ) : void
GetSpellActiveLanguage ( ) : SpellLanguage
GetSubtitleTextContent ( Subtitle subtitle ) : string
GetTextType ( ) : SubtitleTextType

Private Methods

Method Description
OnBaseInitFinished ( ) : void
OnBaseTranslationLoaded ( ) : void
OnBaseTranslationUnloaded ( ) : void
OnTextEditToggleOverwrite ( object o, EventArgs args ) : void

Method Details

ChangeSubtitleTextContent() protected method

protected ChangeSubtitleTextContent ( Subtitle subtitle, string text ) : void
subtitle SubLib.Core.Domain.Subtitle
text string
return void

ExecuteDeleteCommand() protected method

protected ExecuteDeleteCommand ( int index, string text, int cursor ) : void
index int
text string
cursor int
return void

ExecuteInsertCommand() protected method

protected ExecuteInsertCommand ( int index, string text ) : void
index int
text string
return void

GetSpellActiveLanguage() protected method

protected GetSpellActiveLanguage ( ) : SpellLanguage
return GnomeSubtitles.Core.SpellLanguage

GetSubtitleTextContent() protected method

protected GetSubtitleTextContent ( Subtitle subtitle ) : string
subtitle SubLib.Core.Domain.Subtitle
return string

GetTextType() protected method

protected GetTextType ( ) : SubtitleTextType
return SubtitleTextType

SubtitleEditTranslation() public method

public SubtitleEditTranslation ( Gtk.TextView textView ) : GnomeSubtitles.Core
textView Gtk.TextView
return GnomeSubtitles.Core