Class AlignFilePickerController


  • public class AlignFilePickerController
    extends java.lang.Object
    Controller for align file picker UI
    • Constructor Detail

      • AlignFilePickerController

        public AlignFilePickerController()
    • Method Detail

      • setSourceFile

        public void setSourceFile​(java.lang.String sourceFile)
      • setTargetFile

        public void setTargetFile​(java.lang.String targetFile)
      • setSourceLanguage

        public void setSourceLanguage​(Language sourceLanguage)
      • setTargetLanguage

        public void setTargetLanguage​(Language targetLanguage)
      • setSourceDefaultDir

        public void setSourceDefaultDir​(java.lang.String sourceDefaultDir)
      • setTargetDefaultDir

        public void setTargetDefaultDir​(java.lang.String targetDefaultDir)
      • setDefaultSaveDir

        public void setDefaultSaveDir​(java.lang.String defaultSaveDir)
      • show

        public void show​(java.awt.Component parent)
        Display the align tool file picker. The picker is not modal, so this call will return immediately.
        Parameters:
        parent - Parent window of file picker and align window
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Entry point for debugging or standalone use. Optionally accepts four arguments to pre-fill the picker:
        1. Source language
        2. Source file path
        3. Target language
        4. Target file path
        Parameters:
        args -
        Throws:
        java.lang.Exception