@Override
public void saveAs_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 JalviewFileChooser - Save option
+
String format = currentFileFormat == null ? null
: currentFileFormat.getName();
JalviewFileChooser chooser = JalviewFileChooser
@Override
public void associatedData_actionPerformed(ActionEvent e)
{
- // Pick the tree file
JalviewFileChooser chooser = new JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
chooser.setFileView(new JalviewFileView());
@Override
protected void loadTreeMenuItem_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 JalviewFileChooser
// Pick the tree file
JalviewFileChooser chooser = new JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
*/
for (Object[] o : filesmatched)
{
- filesnotmatched.add((String) o[0]);
+ filesnotmatched.add(o[0]);
}
}
}
private void toFile_actionPerformed()
{
+ // TODO: JAL-3048 JalviewFileChooser - Save option
JalviewFileChooser chooser = new JalviewFileChooser(
Cache.getProperty("LAST_DIRECTORY"));
@Override
public void save_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 JalviewFileChooser - Save option
+
JalviewFileChooser chooser = new JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
@Override
public void save_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 JalviewFileChooser - Save option
+
JalviewFileChooser chooser = new JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
@Override
public void saveState_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 not needed for Jalview-JS
+
JalviewFileChooser chooser = new JalviewFileChooser("jvp",
"Jalview Project");
@Override
public void loadState_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 not needed for Jalview-JS
+
JalviewFileChooser chooser = new JalviewFileChooser(
Cache.getProperty("LAST_DIRECTORY"), new String[]
{ "jvp", "jar" },
@Override
public void vamsasImport_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 not needed for Jalview-JS
+
if (v_client == null)
{
// Load and try to start a session.
@Override
public void vamsasSave_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 not needed for Jalview-JS
+
if (v_client != null)
{
// TODO: VAMSAS DOCUMENT EXTENSION is VDJ
*/
void load()
{
+ // TODO: JAL-3048 relies on Castor XML parsing: not needed for JS-jalview core
+ // functionalty
+
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
*/
void save()
{
+ // TODO: JAL-3048 not needed for Jalview-JS - save colours
JalviewFileChooser chooser = new JalviewFileChooser("fc",
SEQUENCE_FEATURE_COLOURS);
chooser.setFileView(new JalviewFileView());
@Override
protected void pdbFromFile_actionPerformed()
{
+ // TODO: JAL-3048 not needed for Jalview-JS until JSmol dep and StructureChooser
+ // works
jalview.io.JalviewFileChooser chooser = new jalview.io.JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
chooser.setFileView(new jalview.io.JalviewFileView());
@Override
public void pdbFile_actionPerformed(ActionEvent actionEvent)
{
+ // TODO: JAL-3048 not needed for Jalview-JS - save PDB file
JalviewFileChooser chooser = new JalviewFileChooser(
Cache.getProperty("LAST_DIRECTORY"));
@Override
public void saveAsNewick_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 save newick file for Jalview-JS
JalviewFileChooser chooser = new JalviewFileChooser(
jalview.bin.Cache.getProperty("LAST_DIRECTORY"));
chooser.setFileView(new JalviewFileView());
try
{
+ // TODO: JAL-3048 not needed for Jalview-JS - Requires EpsGraphics2D dependency
JalviewFileChooser chooser = new JalviewFileChooser(
ImageMaker.EPS_EXTENSION, ImageMaker.EPS_EXTENSION);
chooser.setFileView(new JalviewFileView());
@Override
public void pngTree_actionPerformed(ActionEvent e)
{
+ // TODO: JAL-3048 image export supported in JalviewJS ?
int width = treeCanvas.getWidth();
int height = treeCanvas.getHeight();
{
upperCaseButtons = new ArrayList<>();
lowerCaseButtons = new ArrayList<>();
-
+ // TODO: JAL-3048 requires Castor dependency for Jalview-JS
JalviewFileChooser chooser = new JalviewFileChooser("jc",
"Jalview User Colours");
chooser.setFileView(new JalviewFileView());
return false;
}
}
+ // TODO: JAL-3048 saveas, also requires Castor dependency for Jalview-JS
+
JalviewFileChooser chooser = new JalviewFileChooser("jc",
"Jalview User Colours");
}
if (filename == null)
{
+ // TODO: JAL-3048 webservice - not required for Jalview-JS
+
JalviewFileChooser chooser = new JalviewFileChooser("wsparams",
"Web Service Parameter File");
chooser.setFileView(new JalviewFileView());
pSessionId);
}
+ // TODO: JAL-3048 generate html rendered view (requires SvgGraphics and/or
+ // Jalview HTML rendering system- probably not required for Jalview-JS)
JalviewFileChooser jvFileChooser = new JalviewFileChooser("html",
"HTML files");
jvFileChooser.setFileView(new JalviewFileView());
this.headless = headless;
if (file == null)
{
+ // TODO: JAL-3048 export SVG/EPS/PNG- not required for Jalview-JS
+
setProgressMessage(MessageManager.formatMessage(
"status.waiting_for_user_to_select_output_file", type.name));
JalviewFileChooser chooser;