Synchronous version of rebuild, used when the sketchbook folder has changed, so that the libraries are properly re-scanned before those menus (and the examples window) are rebuilt.
()
| 1925 | * (and the examples window) are rebuilt. |
| 1926 | */ |
| 1927 | public void rebuildSketchbook() { |
| 1928 | for (Mode mode : getModeList()) { |
| 1929 | mode.rebuildImportMenu(); // calls rebuildLibraryList |
| 1930 | mode.rebuildToolbarMenu(); |
| 1931 | mode.rebuildExamplesFrame(); |
| 1932 | } |
| 1933 | // Unlike libraries, examples, etc. the sketchbook is global |
| 1934 | // (because you need to be able to open sketches from the Mode |
| 1935 | // that you're not currently using). |
| 1936 | rebuildSketchbookFrame(); |
| 1937 | } |
| 1938 | |
| 1939 | |
| 1940 | public void populateSketchbookMenu(JMenu menu) { |
no test coverage detected