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

Method handleSaveAs

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

Source from the content-addressed store, hash-verified

2672
2673
2674 public boolean handleSaveAs() {
2675 statusNotice(Language.text("editor.status.saving"));
2676 try {
2677 if (sketch.saveAs()) {
2678 //statusNotice(Language.text("editor.status.saving.done"));
2679 // status is now printed from Sketch so that "Done Saving."
2680 // is only printed after Save As when progress bar is shown.
2681 } else {
2682 statusNotice(Language.text("editor.status.saving.canceled"));
2683 return false;
2684 }
2685 } catch (Exception e) {
2686 // show the error as a message in the window
2687 statusError(e);
2688 }
2689 return true;
2690 }
2691
2692
2693 /*

Callers 2

actionPerformedMethod · 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