Class LanguageFeatureValueItem
java.lang.Object
com.e1c.langtool.ui.tree.FeatureValueItem
com.e1c.langtool.internal.ui.view.SingleLanguageFeatureValueItem
com.e1c.langtool.internal.ui.view.LanguageFeatureValueItem
- All Implemented Interfaces:
IApplicable,IContextTranslationQuery,ISingleTranslationQuery,IFeatureValueItem,ITreeItem
The class represents
ITreeItem that shows language in tree.-
Field Summary
Fields inherited from class com.e1c.langtool.internal.ui.view.SingleLanguageFeatureValueItem
context, sourceLanguage, targetLanguageFields inherited from class com.e1c.langtool.ui.tree.FeatureValueItem
value -
Constructor Summary
ConstructorsConstructorDescriptionLanguageFeatureValueItem(ITreeItem parent, FeatureValue value, int skipKeySegments, TranslateLanguage sourceLanguage, TranslateLanguage targetLanguage, IEditingContext context, StorageID storageId, org.eclipse.core.resources.IProject project, ITranslationStorageManager storageManager, ValidatorRegistry registry) Instantiates a new language feature value item. -
Method Summary
Modifier and TypeMethodDescriptionGets the language of target to translate into.Methods inherited from class com.e1c.langtool.internal.ui.view.SingleLanguageFeatureValueItem
apply, getProjectName, getSourceLanguage, getStorageId, getTargetLanguage, getText, isProcessingNeededMethods inherited from class com.e1c.langtool.ui.tree.FeatureValueItem
getFeatureValue, getParent, getSkippedKeySegments, isFeatureValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.e1c.langtool.query.IContextTranslationQuery
getFeatureValue
-
Constructor Details
-
LanguageFeatureValueItem
public LanguageFeatureValueItem(ITreeItem parent, FeatureValue value, int skipKeySegments, TranslateLanguage sourceLanguage, TranslateLanguage targetLanguage, IEditingContext context, StorageID storageId, org.eclipse.core.resources.IProject project, ITranslationStorageManager storageManager, ValidatorRegistry registry) Instantiates a new language feature value item.- Parameters:
parent- the parent itemvalue- the feature valueskipKeySegments- the skip key segmentssourceLanguage- the source languagetargetLanguage- the target languagecontext- the contextstorageId- the storage idprojectName- the project nameregistry- the registry
-
-
Method Details
-
getPresentation
- Specified by:
getPresentationin interfaceITreeItem- Overrides:
getPresentationin classFeatureValueItem
-
getLanguage
Gets the language of target to translate into.- Returns:
- the language
-