//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.main.presentation/RootComponent/Intent
Intent
interface Intent
View intents.
Inheritors
Types
Name | Summary |
---|---|
AddSegment | [jvm] object AddSegment : RootComponent.Intent Open the "New segment" dialog. |
ClearGlossary | [jvm] object ClearGlossary : RootComponent.Intent Clear the global glossary. |
ClearTm | [jvm] object ClearTm : RootComponent.Intent Clear the content of the global Translation Memory. |
CloseCurrentProject | [jvm] data class CloseCurrentProject(val closeAfter: Boolean = false) : RootComponent.Intent Displays the "Confirm project close" dialog. |
CloseDialog | [jvm] object CloseDialog : RootComponent.Intent Close any opened dialog. |
ConfirmCloseCurrentProject | [jvm] data class ConfirmCloseCurrentProject(val openAfter: Boolean = false, val newAfter: Boolean = false) : RootComponent.Intent Sends user confirmation to close the current project with an optional action afterwards. |
CopyBase | [jvm] object CopyBase : RootComponent.Intent Copy the base (source) message to the target message. |
DeleteSegment | [jvm] object DeleteSegment : RootComponent.Intent Delete the current segment. |
EndEditing | [jvm] object EndEditing : RootComponent.Intent End editing the current message. |
Export | [jvm] data class Export(val path: String, val type: ResourceFileType) : RootComponent.Intent Export messages to a resource file. |
ExportGlossary | [jvm] data class ExportGlossary(val path: String) : RootComponent.Intent Export the global glossary to a CSV file. |
ExportTmx | [jvm] data class ExportTmx(val path: String) : RootComponent.Intent Export the current TM content to a TMX file. |
GlobalSpellcheck | [jvm] object GlobalSpellcheck : RootComponent.Intent Start a global spellcheck validation. |
Import | [jvm] data class Import(val path: String, val type: ResourceFileType) : RootComponent.Intent Import messages from a resource file. |
ImportGlossary | [jvm] data class ImportGlossary(val path: String) : RootComponent.Intent Import a CSV file into the glossary. |
ImportTmx | [jvm] data class ImportTmx(val path: String) : RootComponent.Intent Import a TMX file to the translation memory. |
InsertBestMatch | [jvm] object InsertBestMatch : RootComponent.Intent Insert the best TM match to the translation editor. |
MachineTranslationContributeTm | [jvm] object MachineTranslationContributeTm : RootComponent.Intent Share the whole project as a TM to the machine translation provider. |
MachineTranslationCopyTarget | [jvm] object MachineTranslationCopyTarget : RootComponent.Intent Copy the target message into the machine translation suggestion. |
MachineTranslationInsert | [jvm] object MachineTranslationInsert : RootComponent.Intent Insert the current suggestion from machine translation in the editor. |
MachineTranslationRetrieve | [jvm] object MachineTranslationRetrieve : RootComponent.Intent Retrieve a suggestion for the current message from the machine translation provider. |
MachineTranslationShare | [jvm] object MachineTranslationShare : RootComponent.Intent Share the current suggestion to the remote machine translation provider. |
MoveToNextSegment | [jvm] object MoveToNextSegment : RootComponent.Intent Navigate to the next segment in the editor. |
MoveToPreviousSegment | [jvm] object MoveToPreviousSegment : RootComponent.Intent Navigate to the previous segment in the editor. |
OpenDialog | [jvm] object OpenDialog : RootComponent.Intent Open the "Open project" dialog. |
OpenEditProject | [jvm] object OpenEditProject : RootComponent.Intent Open the "Edit project" dialog. |
OpenExportDialog | [jvm] data class OpenExportDialog(val type: ResourceFileType) : RootComponent.Intent Open the export dialog for the current language. |
OpenExportGlossaryDialog | [jvm] object OpenExportGlossaryDialog : RootComponent.Intent Open the export glossary dialog. |
OpenExportTmxDialog | [jvm] object OpenExportTmxDialog : RootComponent.Intent Open the dialog to export the current TM content to TMX. |
OpenImportDialog | [jvm] data class OpenImportDialog(val type: ResourceFileType) : RootComponent.Intent Open the import dialog for the current language. |
OpenImportGlossaryDialog | [jvm] object OpenImportGlossaryDialog : RootComponent.Intent Open the import glossary dialog. |
OpenImportTmxDialog | [jvm] object OpenImportTmxDialog : RootComponent.Intent Open the import dialog to populate the TM. |
OpenManual | [jvm] object OpenManual : RootComponent.Intent Open the user manual. |
OpenNewDialog | [jvm] object OpenNewDialog : RootComponent.Intent Open the "New project" dialog. |
OpenProject | [jvm] data class OpenProject(val path: String) : RootComponent.Intent Loads a translation project from disk. |
OpenSettings | [jvm] object OpenSettings : RootComponent.Intent Open the "Settings" dialog. |
OpenStatistics | [jvm] object OpenStatistics : RootComponent.Intent Open the "Statistics" dialog. |
SaveCurrentProject | [jvm] object SaveCurrentProject : RootComponent.Intent Save the current project in the TMX at the specified path. |
SaveProject | [jvm] data class SaveProject(val path: String) : RootComponent.Intent Save the project as a TMX file at the given path. |
SaveProjectAs | [jvm] object SaveProjectAs : RootComponent.Intent Opens the "Save as" project dialog. |
SyncTm | [jvm] object SyncTm : RootComponent.Intent Import all the messages of the current project into the global TM. |
ValidatePlaceholders | [jvm] object ValidatePlaceholders : RootComponent.Intent Starts the placeholder validation. |