Skip to content

IParatextMainWindowAutomaticPlugin

FoolRunning edited this page Jul 26, 2022 · 9 revisions

Description

Interface for plugins that run when the main window is first shown.

Properties

Name

string Name

Gets the name of the plugin.


Publisher

string Publisher

Gets the name of the plugin's publisher.


Version

Version Version

The version of the plugin


VersionString

string VersionString

The version of the plugin suitable for showing to the user


Methods

GetDescription

string GetDescription(string locale)

Gets the description of the plugin

Parameter Description
locale ISO 639-3 language code with optional RFC 5646 subtags to identify the language in which term plugin description is requested. If a plugin is not localized or does not have a description in the requested locale, it can fall back to English (en).

GetMerger

IDataFileMerger GetMerger(IPluginHost host, string dataIdentifier)

Gets an object that can be used to merge the data identified.

NOTE: For a standard XML-based merger that uses XMLDataMergeInfo, use IPluginHost.GetXmlMerger.

Parameter Description
host The plugin host
dataIdentifier string identifying the data (e.g. a filename)

Run

void Run(IWindowPluginHost host)

Method that the host will call when the Paratext main window opens.

Parameter Description
host The plugin host

This page is auto-generated. User edits will be lost when regenerated.

Clone this wiki locally