Browse Source

Made small change to the simulator. Now you can double click the table with updates (i.e. enabled transitions) with the result of that the transition is taken.

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@121 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Mark Kattenbelt 19 years ago
parent
commit
be7fe1aec8
  1. 13
      prism/src/userinterface/simulator/GUISimulator.java

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

@ -139,7 +139,18 @@ public class GUISimulator extends GUIPlugin implements MouseListener, ListSelect
//verifyAllPropertiesAtOnce = true;
//options = new GUISimulatorOptions(this);
currentUpdatesTable.setModel(updateTableModel);
currentUpdatesTable.setModel(updateTableModel);
currentUpdatesTable.addMouseListener(new MouseAdapter()
{
public void mouseClicked(MouseEvent e)
{
if (e.getClickCount() == 2 && currentUpdatesTable.isEnabled())
{
a_manualUpdate();
}
}
});
pathTable.setModel(pathTableModel);
lastConstants = null;

Loading…
Cancel
Save