(String path)
| 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 | /** |
no test coverage detected