Click or drag to resize
IApplicationPreviewType Interface
Interface implemented by preview types that provide a mechanism to launch an external application to view the content.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
public interface IApplicationPreviewType : IPreviewType

The IApplicationPreviewType type exposes the following members.

Properties
  NameDescription
Public propertySingleFilePreviewApplicationId
Id for preview application implementation that can be used to launch a preview for a single (source or target language) file.
Public propertySourceAndTargetPreviewApplicationId
Id of the preview application implementation, which can be used to launch a preview for both source and target files.
Public propertySourceGeneratorId
Identifier for the generator that can generate the source language file to be displayed using the preview.
(Inherited from IPreviewType.)
Public propertyTargetGeneratorId
Identifier for the generator that can generate the target language file to be displayed in the preview.
(Inherited from IPreviewType.)
Top
Remarks

Two types of preview applications can be provided: single file and "source and target" (typically side-by-side). The implementation can provide either or both of these.

Host applications can check these ids to determine which launch buttons/tabs should be available in the UI for a specific preview type.

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