/** * Create a new translator-panel and initiates the translation. * * @param inputFile * @param outputFormat * @param translationResult */ public TranslatorSBGNPanel( File inputFile, Format outputFormat, ActionListener translationResult) { super( new KEGGImporter(inputFile, outputFormat), inputFile, outputFormat.toString(), translationResult); }
/** * Initiates a download and translation of the given pathway. * * @param pathwayID pathway identifier (e.g., "mmu00010") * @param outputFormat * @param translationResult */ public TranslatorSBGNPanel( String pathwayID, Format outputFormat, ActionListener translationResult) { super(new KEGGImporter(pathwayID, outputFormat), outputFormat.toString(), translationResult); }