Browse Source

F8 accelerator key for new simulator path.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@516 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Dave Parker 18 years ago
parent
commit
12db210a16
  1. 1
      prism/src/userinterface/simulator/GUISimulator.java

1
prism/src/userinterface/simulator/GUISimulator.java

@ -1589,6 +1589,7 @@ public class GUISimulator extends GUIPlugin implements MouseListener, ListSelect
newPath.putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_N)); newPath.putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_N));
newPath.putValue(Action.NAME, "New Path"); newPath.putValue(Action.NAME, "New Path");
newPath.putValue(Action.SMALL_ICON, GUIPrism.getIconFromImage("smallStates.png")); newPath.putValue(Action.SMALL_ICON, GUIPrism.getIconFromImage("smallStates.png"));
newPath.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0));
resetPath = new AbstractAction() resetPath = new AbstractAction()
{ {

Loading…
Cancel
Save