Accelerator key (CMD-L) doesn’t seem to work right now.
Chimera window, they are highlighted on the alignment. For
comprehensive details of Chimera's commands, refer to the tool's
Help menu.
+
+ <p>
+ <strong>Selecting residues in Jalview from Chimera</strong><br />
+ When a selection is highlighted in a Jalview window, use the <em>Select→Select
+ Highlighted Region</em> function to create a column selection for the
+ mapped positions in the sequence alignment.
+ </p>
<p>
Basic screen operations (see <a
href="http://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/mouse.html">Chimera
Columns by Annotation</a></strong> <br /> <em>Select or Hide
columns in the alignment according to secondary structure,
labels and values shown in alignment annotation rows. </em></li>
+ <li><strong>Select Highlighted Columns</strong> <br /> <em>Selects
+ the columns currently highlighted as a result of a find, mouse
+ over, or selection event from a linked structure viewer or other
+ application. Modifiers will work on some platforms: SHIFT will
+ add columns to selection, ALT will invert the highlighted set
+ before selection, and CTRL (or META) will toggle the selection.
+ </em></li>
</ul></li>
<li><strong>View</strong>
<ul>
Columns by Annotation</a></strong> <br /> <em>Select or Hide columns
in the alignment according to secondary structure, labels and
values shown in alignment annotation rows. </em></li>
+ <li><strong>Select Highlighted Columns</strong> <br /> <em>Selects
+ the columns currently highlighted as a result of a find, mouse
+ over, or selection event from a linked structure viewer or other
+ application. Modifiers will work on some platforms: SHIFT will
+ add columns to selection, ALT will invert the highlighted set
+ before selection, and CTRL (or META) will toggle the selection.
+ </em></li>
</ul>
</body>
</html>
action.colour = Colour
action.calculate = Calculate
action.select_all = Select all
+action.select_highlighted_columns = Select Highlighted Columns
action.deselect_all = Deselect all
action.invert_selection = Invert selection
action.using_jmol = Using Jmol
}
return false;
}
+
+ @Override
+ protected void selectHighlightedColumns_actionPerformed(
+ ActionEvent actionEvent)
+ {
+ avc.markHighlightedColumns(
+ (actionEvent.getModifiers() & ActionEvent.ALT_MASK) != 0,
+ (actionEvent.getModifiers() & ActionEvent.SHIFT_MASK) != 0,
+ (actionEvent.getModifiers() & ActionEvent.CTRL_MASK) != 0);
+ }
}
class PrintThread extends Thread
alignmentProperties();
}
});
+ JMenuItem selectHighlighted = new JMenuItem(
+ MessageManager.getString("label.select_highlighted_columns"));
+ keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_L, Toolkit
+ .getDefaultToolkit().getMenuShortcutKeyMask(), false);
+ al = new ActionListener()
+ {
+ @Override
+ public void actionPerformed(ActionEvent actionEvent)
+ {
+ selectHighlightedColumns_actionPerformed(actionEvent);
+ }
+ };
+ addMenuActionAndAccelerator(keyStroke, selectHighlighted, al);
+
JMenu tooltipSettingsMenu = new JMenu(
MessageManager.getString("label.sequence_id_tooltip"));
JMenu autoAnnMenu = new JMenu(
selectMenu.add(grpsFromSelection);
selectMenu.add(deleteGroups);
selectMenu.add(annotationColumn);
+ selectMenu.add(selectHighlighted);
// TODO - determine if the listenToViewSelections button is needed : see bug
// JAL-574
// selectMenu.addSeparator();
// selectMenu.add(listenToViewSelections);
}
+ protected void selectHighlightedColumns_actionPerformed(
+ ActionEvent actionEvent)
+ {
+ // TODO Auto-generated method stub
+
+ }
+
/**
* Generate the reverse sequence (or reverse complement if the flag is true)
* and add it to the alignment