Class TranslationMemoriesViewController
Inheritance
TranslationMemoriesViewController
Namespace: SdlSdl.TranslationStudioAutomationIntegrationApi
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi.dll
Syntax
[BindController("TranslationMemoryManagerView")]
public class TranslationMemoriesViewController : AbstractBindedController, IDisposable, IBindedController
Constructors
Declaration
public TranslationMemoriesViewController(IStudioWindow studioWindow)
Parameters
Type |
Name |
Description |
Sdl.Desktop.Platform.IStudioWindow |
studioWindow |
|
Fields
_tmManagementService
Declaration
protected ITranslationMemoryManagementService _tmManagementService
Field Value
Type |
Description |
Sdl.TranslationStudio.Api.TranslationMemoryManager.ITranslationMemoryManagementService |
|
Methods
GetActiveTranslationUnit()
Declaration
public TranslationUnit GetActiveTranslationUnit()
Returns
GetAllTranslationUnitsFromActivePage()
Declaration
public List<TranslationUnit> GetAllTranslationUnitsFromActivePage()
Returns
GetTranslationMemoryManagementService()
Declaration
protected virtual ITranslationMemoryManagementService GetTranslationMemoryManagementService()
Returns
Type |
Description |
Sdl.TranslationStudio.Api.TranslationMemoryManager.ITranslationMemoryManagementService |
|
GetTranslationUnitsMarkedForDeletion()
Declaration
public List<TranslationUnit> GetTranslationUnitsMarkedForDeletion()
Returns
Initialize(IViewContext)
Called only once when the controller is initialized
Declaration
protected override void Initialize(IViewContext context)
Parameters
Type |
Name |
Description |
IViewContext |
context |
The context in which the view is initialized.
|
Overrides
SelectRow(int)
Declaration
public bool SelectRow(int rowindex)
Parameters
Type |
Name |
Description |
int |
rowindex |
|
Returns
SetActiveTranslationUnitSource(string)
Sets the source content for the active translation unit.
Declaration
public void SetActiveTranslationUnitSource(string newText)
Parameters
Type |
Name |
Description |
string |
newText |
|
SetActiveTranslationUnitTarget(string)
Sets the target content for the active translation unit.
Declaration
public void SetActiveTranslationUnitTarget(string newText)
Parameters
Type |
Name |
Description |
string |
newText |
|
Implements
Extension Methods