Class LanguageColumnEditingSupport
java.lang.Object
org.eclipse.jface.viewers.EditingSupport
com.e1c.langtool.internal.ui.view.LanguageColumnEditingSupport
The class helps to edit translation text for target language in viewer's column.
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageColumnEditingSupport(ColumnViewer viewer, int column, TranslateLanguage sourceLanguage, TranslateLanguage targetLanguage, IEditingContext context, IQuerySelectionService selectionService, org.eclipse.core.resources.IProject project, Supplier<StorageID> currentStorageId) Instantiates a new language column editing support. -
Method Summary
Methods inherited from class org.eclipse.jface.viewers.EditingSupport
getViewer, initializeCellEditorValue, saveCellEditorValue
-
Constructor Details
-
LanguageColumnEditingSupport
public LanguageColumnEditingSupport(ColumnViewer viewer, int column, TranslateLanguage sourceLanguage, TranslateLanguage targetLanguage, IEditingContext context, IQuerySelectionService selectionService, org.eclipse.core.resources.IProject project, Supplier<StorageID> currentStorageId) Instantiates a new language column editing support.- Parameters:
viewer- the viewercolumn- the columnsourceLanguage- the source languagetargetLanguage- the languagecontext- the contextselectionService- the selection serviceproject- the projectcurrentStorageId- the current storage id
-
-
Method Details
-
getCellEditor
- Specified by:
getCellEditorin classEditingSupport
-
canEdit
- Specified by:
canEditin classEditingSupport
-
getValue
- Specified by:
getValuein classEditingSupport
-
setValue
- Specified by:
setValuein classEditingSupport
-