From: tcofoegbu Date: Fri, 17 Jun 2016 17:08:25 +0000 (+0100) Subject: JAL-1823 Updated tooltip to reflect how a specific chain can be retrieved X-Git-Tag: Release_2_10_0~166 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=771e6274247689960c5cfa0ea3962aee9451547e;p=jalview.git JAL-1823 Updated tooltip to reflect how a specific chain can be retrieved --- diff --git a/resources/lang/Messages.properties b/resources/lang/Messages.properties index b130842..672a5a2 100644 --- a/resources/lang/Messages.properties +++ b/resources/lang/Messages.properties @@ -675,7 +675,7 @@ label.view_all_representative_structures = View all {0} representative structure label.open_new_jmol_view_with_all_representative_structures_associated_current_selection_superimpose_using_alignment = Opens a new structure viewer with all representative structures\nassociated with the current selection\nsuperimposed with the current alignment. label.associate_structure_with_sequence = Associate Structure with Sequence label.from_file = From File -label.enter_pdb_id = Enter PDB Id +label.enter_pdb_id = Enter PDB Id (Note: Specific chains can be retrieved by appending the chain code to the PDB Id delimited with a colon i.e. 1abc:X) label.discover_pdb_ids = Discover PDB IDs label.text_colour = Text Colour action.set_text_colour = Text Colour... diff --git a/src/jalview/jbgui/GStructureChooser.java b/src/jalview/jbgui/GStructureChooser.java index e9eab82..44f659d 100644 --- a/src/jalview/jbgui/GStructureChooser.java +++ b/src/jalview/jbgui/GStructureChooser.java @@ -450,9 +450,8 @@ public abstract class GStructureChooser extends JPanel implements chk_invertFilter.setFont(new java.awt.Font("Verdana", 0, 12)); chk_rememberSettings.setFont(new java.awt.Font("Verdana", 0, 12)); chk_rememberSettings.setVisible(false); - - txt_search.setToolTipText(MessageManager - .getString("label.enter_pdb_id")); + txt_search.setToolTipText(JvSwingUtils.wrapTooltip(true, + MessageManager.getString("label.enter_pdb_id"))); cmb_filterOption.setToolTipText(MessageManager .getString("info.select_filter_option")); txt_search.getDocument().addDocumentListener(new DocumentListener()