//putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke('E', Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() ));
setEnabled(false);
}
public void actionPerformed(final ActionEvent e) {
final ItemSelectable is = (ItemSelectable)e.getSource();
final Object[] o = is.getSelectedObjects();
try {
String item = (String)o[0];
if (item.endsWith("%")) item = item.substring(0, item.length()-1);
final double zoomFactor = Double.parseDouble(item.trim());
if (zoomFactor > 0) gcViewer.getSelectedGCDocument().getModelChart().setScaleFactor(zoomFactor/1000.0);