3 import jalview.gui.AlignFrame;
4 import jalview.javascript.JalviewLiteJsApi;
7 * JAL-3369 JalviewJS API BH 2019.07.17
12 public interface JalviewJSApi extends JalviewLiteJsApi
18 * process commandline arguments after the JavaScript application has started
23 Object parseArguments(String[] args);
27 * Open a new Tree panel on the desktop statically. Params are standard (not
28 * set by Groovy). No dialog is opened.
34 * @return null, or the string "label.you_need_at_least_n_sequences" if number
35 * of sequences selected is inappropriate
37 public Object openTreePanel(AlignFrame af, String treeType,
41 * public static method for JalviewJS API to open a PCAPanel without
42 * necessarily using a dialog.
47 * @return the PCAPanel, or the string "label.you_need_at_least_n_sequences"
48 * if number of sequences selected is inappropriate
50 public Object openPcaPanel(AlignFrame af, String modelName);