Package org.omegat.gui.align
Class AlignFilePickerController
- java.lang.Object
-
- org.omegat.gui.align.AlignFilePickerController
-
public class AlignFilePickerController extends java.lang.Object
Controller for align file picker UI
-
-
Constructor Summary
Constructors Constructor Description AlignFilePickerController()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Entry point for debugging or standalone use.void
setDefaultSaveDir(java.lang.String defaultSaveDir)
void
setSourceDefaultDir(java.lang.String sourceDefaultDir)
void
setSourceFile(java.lang.String sourceFile)
void
setSourceLanguage(Language sourceLanguage)
void
setTargetDefaultDir(java.lang.String targetDefaultDir)
void
setTargetFile(java.lang.String targetFile)
void
setTargetLanguage(Language targetLanguage)
void
show(java.awt.Component parent)
Display the align tool file picker.
-
-
-
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:- Source language
- Source file path
- Target language
- Target file path
- Parameters:
args
-- Throws:
java.lang.Exception
-
-