Click or drag to resize
AbstractAutoSuggestProvider Class
Defines the base class for the autosuggest provider, which are components with visual representation that provide to SDL Trados Studio users suggestions while they are editing the target documents (the translation in a "target" language of a document).
Inheritance Hierarchy
SystemObject
  Sdl.TranslationStudioAutomation.IntegrationApi.AutoSuggestAbstractAutoSuggestProvider

Namespace: Sdl.TranslationStudioAutomation.IntegrationApi.AutoSuggest
Assembly: Sdl.TranslationStudioAutomation.IntegrationApi (in Sdl.TranslationStudioAutomation.IntegrationApi.dll) Version: 4.2.0.0 (4.1.5799.0)
Syntax
public abstract class AbstractAutoSuggestProvider : IDisposable

The AbstractAutoSuggestProvider type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractAutoSuggestProvider
Initializes a new instance of the AbstractAutoSuggestProvider class
Top
Properties
  NameDescription
Protected propertyActiveDocument
Get the active document property.
Protected propertyActiveSegmentPair
Get the active segment pair of the active document.
Protected propertyEditorController
Get the editor controller.
Public propertyIcon
Gets or sets the icon for this auto suggestion provider . Can be null.
Public propertySettings
Get or set the AutoSuggest provider settings.
Top
Methods
  NameDescription
Public methodDispose
Executed to release the resources.
Protected methodDispose(Boolean)
Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed. If disposing equals false, the method has been called by the runtime from inside the finalizer and you should not reference other objects. Only unmanaged resources can be disposed.
Protected methodGetSuggestions
Executed when the suggestions are requested.
Protected methodOnActiveDocumentChanged
Override it to process when the active document is changed. This method is called whenever the SDL Trados Studio user changes the current document by opening, closing or switching documents. Note: The concreate implementation can be used to prepare the AutoSuggest dictionary, prepare document specific initializations, etc.
Protected methodOnActiveSegmentChanged
Override it to process when the active segment is changed. This method is called whenever in the editor the current active segment has been changed. Note: The concreate implementation can be used to prepare the AutoSuggest cadidates.
Protected methodOnSettingsChanged
Override to implement custom logic when the provider settings are changed.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments