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

Method load

app/src/processing/app/Sketch.java:120–130  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

118
119
120 protected void load(String path) {
121 primaryFile = new File(path);
122 // get the name of the sketch by chopping .pde or .java
123 // off of the main file name
124 String mainFilename = primaryFile.getName();
125 int suffixLength = mode.getDefaultExtension().length() + 1;
126 name = mainFilename.substring(0, mainFilename.length() - suffixLength);
127 folder = new File(new File(path).getParent());
128 disappearedWarning = false;
129 load();
130 }
131
132
133 /**

Callers 4

SketchMethod · 0.95
reloadMethod · 0.95
JAppleMenuBarClass · 0.45
setupGUIMethod · 0.45

Calls 10

getSketchCodeFilesMethod · 0.95
sortCodeMethod · 0.95
setCurrentCodeMethod · 0.95
getFileMethod · 0.80
getMethod · 0.65
getNameMethod · 0.45
getDefaultExtensionMethod · 0.45
getParentMethod · 0.45
sizeMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected