//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.toolbar.presentation/TranslateToolbarComponent/Intent
Intent
interface Intent
Inheritors
SetLanguage |
SetTypeFilter |
OnSearchFired |
SetSearch |
CopyBase |
MoveToPrevious |
MoveToNext |
AddUnit |
RemoveUnit |
ValidateUnits |
SetEditing |
Types
Name | Summary |
---|---|
AddUnit | [jvm] object AddUnit : TranslateToolbarComponent.Intent Trigger the Effect.AddUnit event to be emitted in the effects flow. |
CopyBase | [jvm] object CopyBase : TranslateToolbarComponent.Intent Trigger the Effect.CopyBase event to be emitted in the effects flow. |
MoveToNext | [jvm] object MoveToNext : TranslateToolbarComponent.Intent Trigger the Effect.MoveToNext event to be emitted in the effects flow. |
MoveToPrevious | [jvm] object MoveToPrevious : TranslateToolbarComponent.Intent Trigger the Effect.MoveToPrevious event to be emitted in the effects flow. |
OnSearchFired | [jvm] object OnSearchFired : TranslateToolbarComponent.Intent Trigger the Effect.Search event to be emitted in the effects flow with the last value passed along in the the SetSearch intent. |
RemoveUnit | [jvm] object RemoveUnit : TranslateToolbarComponent.Intent Trigger the Effect.RemoveUnit event to be emitted in the effects flow. |
SetEditing | [jvm] data class SetEditing(val value: Boolean) : TranslateToolbarComponent.Intent Set the editing state. |
SetLanguage | [jvm] data class SetLanguage(val value: LanguageModel) : TranslateToolbarComponent.Intent Change the current language. |
SetSearch | [jvm] data class SetSearch(val value: String) : TranslateToolbarComponent.Intent Set a search query string |
SetTypeFilter | [jvm] data class SetTypeFilter(val value: TranslationUnitTypeFilter) : TranslateToolbarComponent.Intent Change the message filter. |
ValidateUnits | [jvm] object ValidateUnits : TranslateToolbarComponent.Intent Trigger the Effect.ValidateUnits event to be emitted in the effects flow. This is intended for placeholder validation. |