X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FFeatureSettings.java;h=3787efa6386e19790ae7695fbf89498a4a26c549;hb=5146792501661f7d07d4357651cb1b04fd4d9a46;hp=2bd98d5e2945cf85dba3509ff9933d9876d9e08f;hpb=0bdb00011a58ec35db17a9006b282ef1fd39cbbc;p=jalview.git diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index 2bd98d5..3787efa 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -108,7 +108,7 @@ public class FeatureSettings extends JPanel else if (evt.getClickCount() == 2) { fr.ap.alignFrame.avc.markColumnsContainingFeatures( - evt.isShiftDown(), + evt.isAltDown(),evt.isShiftDown() || evt.isMetaDown(), evt.isMetaDown(), (String) table.getValueAt(selectedRow, 0)); } } @@ -138,7 +138,8 @@ public class FeatureSettings extends JPanel } } }); - + table.setToolTipText(""+JvSwingUtils + .wrapTooltip("Click/drag feature types up or down to change render order.
Double click to select columns containing feature in alignment/current selection
Pressing Alt will select columns outside features rather than inside
Pressing Shift to modify current selection (rather than clear current selection)
Press CTRL or Command/Meta to toggle columns in/outside features
")+""); scrollPane.setViewportView(table); dassourceBrowser = new DasSourceBrowser(this); @@ -304,7 +305,7 @@ public class FeatureSettings extends JPanel @Override public void actionPerformed(ActionEvent arg0) { - fr.ap.alignFrame.avc.markColumnsContainingFeatures(false, type); + fr.ap.alignFrame.avc.markColumnsContainingFeatures(false, false, false, type); } }); JMenuItem clearCols = new JMenuItem(MessageManager.getString("label.select_columns_not_containing")); @@ -314,7 +315,7 @@ public class FeatureSettings extends JPanel @Override public void actionPerformed(ActionEvent arg0) { - fr.ap.alignFrame.avc.markColumnsContainingFeatures(true, type); + fr.ap.alignFrame.avc.markColumnsContainingFeatures(true, false, false, type); } }); men.add(selCols);