MCPcopy Index your code
hub / github.com/processing/processing / sketchbookCallback

Method sketchbookCallback

app/src/processing/app/ui/Welcome2.java:338–346  ·  view source on GitHub ↗

Callback for the folder selector, used when user chooses a new sketchbook for Processing 3 @param folder the path to the new sketcbook

(File folder)

Source from the content-addressed store, hash-verified

336 * @param folder the path to the new sketcbook
337 */
338 public void sketchbookCallback(File folder) {
339 if (folder != null) {
340 if (base != null) {
341 base.setSketchbookFolder(folder);
342 } else {
343 System.out.println("user selected " + folder);
344 }
345 }
346 }
347
348
349 /**

Callers

nothing calls this directly

Calls 2

setSketchbookFolderMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected