From 793968f15efc19ba0b8a91b0078e6b23ee4e2ff9 Mon Sep 17 00:00:00 2001 From: jprocter Date: Sat, 9 Jul 2011 12:29:14 +0100 Subject: [PATCH] documentation for menu item JAL-860 --- help/html/features/viewingpdbs.html | 11 ++++++++++- src/jalview/gui/PopupMenu.java | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/help/html/features/viewingpdbs.html b/help/html/features/viewingpdbs.html index a6f5de9..679f353 100755 --- a/help/html/features/viewingpdbs.html +++ b/help/html/features/viewingpdbs.html @@ -44,8 +44,17 @@ structure is selected, one of the following will happen:

PDB viewer help page for more information about the display. +

+ Additionally, if several of the sequences in the currently selected + region of the alignment have associated structures, then Jalview will + provide a 'View X structures' entry in the submenu. This + option will open a new Jmol view containing all the structures + available for all selected sequences, superimposed using the currently + selected region of the alignment. (This capability was added + in Jalview 2.7) +

-

To associate PDB files with a sequence, right click on a sequence +

To associate PDB files with a sequence, right click on a sequence ID and select "Structure Associate Structure with Sequence", and one of the submenus:

diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 30feec2..477136f 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -402,6 +402,7 @@ public class PopupMenu extends JPopupMenu final PDBEntry[] pe = pdbe.values().toArray(new PDBEntry[pdbe.size()]); final JMenuItem gpdbview; structureMenu.add(gpdbview=new JMenuItem("View "+pdbe.size()+" structures.")); + gpdbview.setToolTipText("Open a new Jmol view with all structures associated with the current selection and superimpose them using the alignment."); gpdbview.addActionListener(new ActionListener() { -- 1.7.10.2