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

Method save

app/src/processing/app/ui/Recent.java:106–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105
106 static protected void save() {
107 file.setWritable(true, false);
108 PrintWriter writer = PApplet.createWriter(file);
109 writer.println(VERSION);
110 for (Record record : records) {
111// System.out.println(record.getPath() + "\t" + record.getState());
112// writer.println(record.path + "\t" + record.getState());
113 writer.println(record.path); // + "\t" + record.getState());
114 }
115 writer.flush();
116 writer.close();
117 updateMenu(mainMenu);
118 updateMenu(toolbarMenu);
119 }
120
121
122 static public JMenu getMenu() {

Callers 4

appendMethod · 0.95
renameMethod · 0.95
checkFilesMethod · 0.45
handleSaveImplMethod · 0.45

Calls 5

createWriterMethod · 0.95
updateMenuMethod · 0.95
printlnMethod · 0.45
flushMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected