Interface IContextTranslationQuery

All Superinterfaces:
ISingleTranslationQuery
All Known Implementing Classes:
ContextTranslationQuery, ContextTranslationQuery, LanguageFeatureValueItem, SelectableTextCellEditor.ApplicableTranslationQuery, SingleLanguageFeatureValueItem, SingleLanguageFeatureValueItem

public interface IContextTranslationQuery extends ISingleTranslationQuery
Extended ISingleTranslationQuery translation query.

This translation query extends ISingleTranslationQuery by following information:

  • feature-value
  • storage id
  • project name

  • Method Details

    • getFeatureValue

      FeatureValue getFeatureValue()
      Returns the FeatureValue.

      Note that following methods of FeatureValue and ISingleTranslationQuery should return the same values:

      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