MCPcopy Index your code
hub / github.com/arduino/Arduino / handleOpen

Method handleOpen

app/src/processing/app/Base.java:859–861  ·  view source on GitHub ↗

Open a sketch in a new window. @param file File to open @return the Editor object, so that properties (like 'untitled') can be set by the caller @throws Exception

(File file)

Source from the content-addressed store, hash-verified

857 * @throws Exception
858 */
859 public Editor handleOpen(File file) throws Exception {
860 return handleOpen(file, false);
861 }
862
863 public Editor handleOpen(File file, boolean untitled) throws Exception {
864 return handleOpen(file, nextEditorLocation(), untitled);

Callers 6

BaseMethod · 0.95
restoreSketchesMethod · 0.95
handleNewMethod · 0.95
handleOpenPromptMethod · 0.95
actionPerformedMethod · 0.95
openFilesMethod · 0.80

Calls 14

nextEditorLocationMethod · 0.95
getSketchMethod · 0.95
getPlatformMethod · 0.95
getSketchControllerMethod · 0.95
storeSketchesMethod · 0.95
storeRecentSketchesMethod · 0.95
saveMethod · 0.95
getPrimaryFileMethod · 0.80
setVisibleMethod · 0.80
existsMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected