Implements Sketch → Stop, or pressing Stop on the toolbar.
()
| 1676 | * Implements Sketch → Stop, or pressing Stop on the toolbar. |
| 1677 | */ |
| 1678 | private void handleStop() { // called by menu or buttons |
| 1679 | // toolbar.activate(EditorToolbar.STOP); |
| 1680 | |
| 1681 | toolbar.deactivateRun(); |
| 1682 | // toolbar.deactivate(EditorToolbar.STOP); |
| 1683 | |
| 1684 | // focus the PDE again after quitting presentation mode [toxi 030903] |
| 1685 | toFront(); |
| 1686 | } |
| 1687 | |
| 1688 | /** |
| 1689 | * Check if the sketch is modified and ask user to save changes. |
no test coverage detected