Class DocumentFileExporterAndExternalViewer

java.lang.Object
com.biomatters.geneious.publicapi.plugin.DocumentFileExporter
com.biomatters.geneious.publicapi.plugin.DocumentFileExporterAndExternalViewer

public abstract class DocumentFileExporterAndExternalViewer extends DocumentFileExporter
A file exporter with an associated external viewer.

An external viewer typically reads a file from the file system, so it is natural to associate an external viewer with an exporter since the documents have to be written to disk prior to external viewer invocation.

  • Constructor Details

    • DocumentFileExporterAndExternalViewer

      public DocumentFileExporterAndExternalViewer()
  • Method Details

    • viewerAppEnvironmentVariableName

      public abstract String viewerAppEnvironmentVariableName()
      Name of environment variable which let user specify her preferred external viewer.

      Not required on Windows or Mac if file type is known to the operating system. On Linux a viewer will typically specify one or more default options via defaultLinuxViewers, so that a viewer may be found eeven when no environment variables are set.

      Returns:
      environment variable name
    • defaultLinuxViewers

      public abstract String[] defaultLinuxViewers()
      Linux application name(s) of viewers.
      Returns:
      A list of application names capable of displaying the document(s).