Package com.e1c.langtool.ui
Interface TranslationEditingContext
- All Known Implementing Classes:
StorageMediator
public interface TranslationEditingContext
Common interface for objects of editing translation for
FeatureValue and language code.
The context is responsable for storing translation in ITranslationStorageProvider.Storage according user settings of current
editing strorage.-
Method Summary
Modifier and TypeMethodDescriptionGets the storage which is editing in this context.getTranslation(FeatureValue fv, TranslateLanguage language) Gets the translation.voidsetTranslation(FeatureValue fv, TranslateLanguage language, String translation) Sets the translation.
-
Method Details
-
getTranslation
Gets the translation.- Parameters:
fv- the feature valuelanguage- the language- Returns:
- the translation
-
setTranslation
Sets the translation.- Parameters:
fv- the feature valuetranslation- the translation
-
getStorage
ITranslationStorageProvider.Storage getStorage()Gets the storage which is editing in this context.- Returns:
- the storage
-