Interface ITerminologyProviderWinFormsUI
This interface should be implemented by terminology provider implementers in order to provide user interface functionality in Trados Studio specific to that type of terminology provider. Implementation of this interface should be marked up with the TerminologyProviderWinFormsUIAttribute attribute for registration it with the plug-in manager.
Namespace: SdlSdl.TerminologySdl.Terminology.TerminologyProviderCore
Assembly: Sdl.Terminology.TerminologyProvider.Core.dll
Syntax
public interface ITerminologyProviderWinFormsUI
Properties
TypeDescription
Gets the type description of the factory; e.g. "A plug-in provider to use Cloud-Based Terminology."
Declaration
string TypeDescription { get; }
Property Value
Type | Description |
---|---|
string |
TypeName
Gets the type name of the factory; e.g. "Cloud-Based Terminology Provider"
Declaration
string TypeName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Browse(IWin32Window, ITerminologyProviderCredentialStore)
Displays a dialog to interactively browse for one or more terminology providers.
Declaration
ITerminologyProvider[] Browse(IWin32Window owner, ITerminologyProviderCredentialStore credentialStore)
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | owner | The window that will own the dialog |
ITerminologyProviderCredentialStore | credentialStore | A credential store object that can be used to retrieve credentials required. |
Returns
Type | Description |
---|---|
ITerminologyProvider | A collection of terminology providers selected by the user, or |
GetDisplayInfo(Uri)
Gets display information for the specified terminology provider.
Declaration
TerminologyProviderDisplayInfo GetDisplayInfo(Uri terminologyProviderUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | terminologyProviderUri | A terminology provider URI, representing the terminology provider. |
Returns
Type | Description |
---|---|
TerminologyProviderDisplayInfo | A TerminologyProviderDisplayInfo object, containing display information that allows an application to represent the terminology provider without having to instantiate it. |
Remarks
Note that this method can potentially be called very frequently so it is not advisable to instantiate the translation provider within its implementation.
SupportsTerminologyProviderUri(Uri)
Returns true if this component supports the specified terminology provider URI.
Declaration
bool SupportsTerminologyProviderUri(Uri terminologyProviderUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | terminologyProviderUri | The uri. |
Returns
Type | Description |
---|---|
bool | True if this component supports the specified terminology provider URI. |