import jalview.bin.ArgParser.ArgValues;
import jalview.datamodel.AlignmentAnnotation;
import jalview.gui.AlignFrame;
-import jalview.gui.AlignViewport;
import jalview.gui.Desktop;
import jalview.io.AppletFormatAdapter;
import jalview.io.DataSourceType;
}
}
}
-
- private void testMethod()
- {
- Desktop Jalview = Desktop.instance;
- jalview.bin.Cache.setProperty("SVG_RENDERING", "Text");
- for (AlignFrame af : Jalview.getAlignFrames())
- {
- String title = af.getTitle();
- System.out.println("Title: " + af.getTitle());
- AlignViewport view = af.getCurrentView();
- view.setShowText(false);
- view.setShowAnnotation(false);
- af.deselectAllSequenceMenuItem_actionPerformed(null);
- af.repaint();
- af.createPNG(new File(title + ".png"));
- af.createSVG(new File(title + ".svg"));
- }
- }
}