menuAction =
new MenuAction("Color Legends ...", null, KeyEvent.VK_H) {
@Override
public void actionPerformed(ActionEvent e) {
(new LegendDialog(IGV.getMainFrame())).setVisible(true);
}
};
menuAction.setToolTipText(SHOW_HEATMAP_LEGEND_TOOLTIP);
menuItems.add(MenuAndToolbarUtils.createMenuItem(menuAction));