()
| 2651 | |
| 2652 | |
| 2653 | protected void handleSaveImpl() { |
| 2654 | statusNotice(Language.text("editor.status.saving")); |
| 2655 | try { |
| 2656 | if (sketch.save()) { |
| 2657 | statusNotice(Language.text("editor.status.saving.done")); |
| 2658 | } else { |
| 2659 | statusEmpty(); |
| 2660 | } |
| 2661 | |
| 2662 | } catch (Exception e) { |
| 2663 | // show the error as a message in the window |
| 2664 | statusError(e); |
| 2665 | |
| 2666 | // zero out the current action, |
| 2667 | // so that checkModified2 will just do nothing |
| 2668 | //checkModifiedMode = 0; |
| 2669 | // this is used when another operation calls a save |
| 2670 | } |
| 2671 | } |
| 2672 | |
| 2673 | |
| 2674 | public boolean handleSaveAs() { |
no test coverage detected