label.load_tree_for_sequence_set = Load a tree for this sequence set
label.export_image = Export Image
label.export_split_frame = Export Split Frame Image
+label.export_tooltip = Alignments image with {0} above
label.vamsas_store = VAMSAS store
label.translate_cDNA = Translate as cDNA
label.reverse = Reverse
label.load_tree_for_sequence_set = Cargar un árbol para este conjunto de secuencias
label.export_image = Exportar imagen
label.export_split_frame = Exportar imagen de la ventana dividida
+label.export_tooltipe = Imagen de alineamientos con {0} arriba
label.vamsas_store = Almacén VAMSAS
label.translate_cDNA = Traducir cDNA
label.extract_scores = Extraer puntuaciones
{
/*
* append coding complement image
- * todo: always write top frame first!
*/
graphics.translate(0, dim1.height);
if (av.getCodingComplement().getWrapAlignment())
*/
protected void init()
{
- getTopFrame().setSplitFrame(this);
- getBottomFrame().setSplitFrame(this);
+ getTopFrame().setSplitFrame(this, true);
+ getBottomFrame().setSplitFrame(this, false);
getTopFrame().setVisible(true);
getBottomFrame().setVisible(true);
/**
* Sets a reference to the containing split frame. Also makes the 'toggle split
- * view' menu item visible and checked. Also makes the 'export split frame
- * image' menu visible.
+ * view' menu item visible and checked, and makes the 'export split frame image'
+ * menu visible.
*
* @param sf
*/
- public void setSplitFrame(SplitContainerI sf)
+ public void setSplitFrame(SplitContainerI sf, boolean asTopFrame)
{
this.splitFrame = sf;
if (sf != null)
this.showComplementMenuItem.setVisible(true);
this.showComplementMenuItem.setState(true);
this.exportSplitFrameMenu.setVisible(true);
+ String biotype = asTopFrame
+ ? MessageManager.getString("label.nucleotide")
+ : MessageManager.getString("label.protein");
+ this.exportSplitFrameMenu.setToolTipText(MessageManager
+ .formatMessage("label.export_tooltip", biotype));
}
}