MCPcopy Index your code
hub / github.com/benfry/processing4 / handleSaveAs

Method handleSaveAs

app/src/processing/app/ui/Editor.java:2170–2187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2168
2169
2170 public boolean handleSaveAs() {
2171 statusNotice(Language.text("editor.status.saving"));
2172 try {
2173 if (sketch.saveAs()) {
2174 // No longer showing "Done" message except in cases where a
2175 // progress bar is necessary. Message will come from Sketch.
2176 //statusNotice(Language.text("editor.status.saving.done"));
2177 return true;
2178
2179 } else {
2180 statusNotice(Language.text("editor.status.saving.canceled"));
2181 }
2182 } catch (Exception e) {
2183 // show the error as a message in the window
2184 statusError(e);
2185 }
2186 return false;
2187 }
2188
2189
2190 /**

Callers 2

buildFileMenuMethod · 0.95
handleSaveMethod · 0.95

Calls 4

statusNoticeMethod · 0.95
textMethod · 0.95
statusErrorMethod · 0.95
saveAsMethod · 0.45

Tested by

no test coverage detected