Interface ITranslatioStudioConnectorGui


public interface ITranslatioStudioConnectorGui
The GUI Interface
Author:
Phillip Austerfield (phillip.austerfield@idmedia.com)
  • Method Details

    • getName

      @NotNull String getName()
      Get the connector name
      Returns:
    • getConfigurationPanel

      @Nullable JPanel getConfigurationPanel()
      Get the configuration panel
      Returns:
      panel or null
    • getGuiConfiguration

      @NotNull String getGuiConfiguration()
      get final configuration data for the GUI
      Returns:
    • getConnectorConfiguration

      @NotNull String getConnectorConfiguration()
      get final configuration data to be sent to the connector instance
      Returns:
    • onCreated

      void onCreated()
      Init connector configuration
    • onShow

      void onShow()
      Callback to be executed once the panel has been created
    • onSave

      void onSave()
      Callback function to be executed once the program/configuration will be quit
    • onInit

      void onInit(String sId, String sConfiguration, List<IProjectJobConfigurtion> vsAvailableConfigurations, IExchangeCommunicator pCommunicator)
      load connector configuration
      Parameters:
      sId - System Id
      sConfiguration - configuration content
      vsAvailableConfigurations - Available Job Configurations
      pCommunicator - Communicator Instance to exchange a message with the Connector
    • getProjects

      @NotNull List<IConfiguredTranslationMemoryProject> getProjects()
      Get a list of available projects
      Returns:
      List, never null
    • useForAutomaticTranslation

      boolean useForAutomaticTranslation()
      Use this connector for automatic translations
      Returns: