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
15 Object parseArguments(String[] args);
18 * Open a new Tree panel on the desktop statically. Params are standard (not
19 * set by Groovy). No dialog is opened.
24 * @return null, or the string "label.you_need_at_least_n_sequences" if number
25 * of sequences selected is inappropriate
27 public Object openTreePanel(AlignFrame af, String treeType,
31 * public static method for JalviewJS API to open a PCAPanel without
32 * necessarily using a dialog.
36 * @return the PCAPanel, or the string "label.you_need_at_least_n_sequences"
37 * if number of sequences selected is inappropriate
39 public Object openPcaPanel(AlignFrame af, String modelName);