MCPcopy
hub / github.com/arduino/Arduino / handleStop

Method handleStop

app/src/processing/app/Editor.java:1678–1686  ·  view source on GitHub ↗

Implements Sketch → Stop, or pressing Stop on the toolbar.

()

Source from the content-addressed store, hash-verified

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.

Callers 2

handleSaveMethod · 0.95
handleSaveAsMethod · 0.95

Calls 1

deactivateRunMethod · 0.80

Tested by

no test coverage detected