//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.panel.glossary.presentation/GlossaryComponent/Intent
Intent
interface Intent
View intents.
Inheritors
Clear |
Load |
AddSourceTerm |
AddTargetTerm |
DeleteTerm |
Types
Name | Summary |
---|---|
AddSourceTerm | [jvm] data class AddSourceTerm(val lemma: String) : GlossaryComponent.Intent Add a source term. |
AddTargetTerm | [jvm] data class AddTargetTerm(val lemma: String, val source: GlossaryTermModel) : GlossaryComponent.Intent Add a target term. |
Clear | [jvm] object Clear : GlossaryComponent.Intent Clear the section content. |
DeleteTerm | [jvm] data class DeleteTerm(val term: GlossaryTermModel) : GlossaryComponent.Intent Delete a term. |
Load | [jvm] data class Load(val key: String, val projectId: Int, val languageId: Int) : GlossaryComponent.Intent Load the glossary terms for the message with a given key.. |