Package com.e1c.langtool.query
Interface IContextTranslationQuery
- All Superinterfaces:
ISingleTranslationQuery
- All Known Implementing Classes:
ContextTranslationQuery,ContextTranslationQuery,LanguageFeatureValueItem,SelectableTextCellEditor.ApplicableTranslationQuery,SingleLanguageFeatureValueItem,SingleLanguageFeatureValueItem
Extended
ISingleTranslationQuery translation query.
This translation query extends ISingleTranslationQuery by following information:
- feature-value
- storage id
- project name
-
Method Summary
Modifier and TypeMethodDescriptionReturns theFeatureValue.Returns the name of project for which the translations will be searched.Returns the code of source language of text.Returns the translation storage id.Returns the code of target language to translate.booleanReturns true if the text (or texts) needs of processing.Methods inherited from interface com.e1c.langtool.query.ISingleTranslationQuery
getText
-
Method Details
-
getFeatureValue
FeatureValue getFeatureValue()Returns theFeatureValue.Note that following methods of
FeatureValueandISingleTranslationQueryshould return the same values:FeatureValue.getValue()andISingleTranslationQuery.getText()FeatureValue.getFeatureSettings().isLocalizable()andisProcessingNeeded()
- Returns:
- the
FeatureValue
-
getStorageId
StorageID getStorageId()Returns the translation storage id.- Returns:
- the storage id
-
getProjectName
String getProjectName()Returns the name of project for which the translations will be searched.- Returns:
- the name of project
- See Also:
-
IResource.getName()
-
getSourceLanguage
String getSourceLanguage()Returns the code of source language of text.- Returns:
- the code of source language. Can't be
null.
-
getTargetLanguage
String getTargetLanguage()Returns the code of target language to translate.- Returns:
- the code of target language to translate. Can't be
null.
-
isProcessingNeeded
boolean isProcessingNeeded()Returns true if the text (or texts) needs of processing.- Returns:
- true if the text (or texts) needs of processing
-