()
| 2147 | |
| 2148 | |
| 2149 | protected void handleSaveImpl() { |
| 2150 | statusNotice(Language.text("editor.status.saving")); |
| 2151 | try { |
| 2152 | if (sketch.save()) { |
| 2153 | statusNotice(Language.text("editor.status.saving.done")); |
| 2154 | } else { |
| 2155 | statusEmpty(); |
| 2156 | } |
| 2157 | |
| 2158 | } catch (Exception e) { |
| 2159 | // show the error as a message in the window |
| 2160 | statusError(e); |
| 2161 | |
| 2162 | // zero out the current action, |
| 2163 | // so that checkModified2 will just do nothing |
| 2164 | //checkModifiedMode = 0; |
| 2165 | // this is used when another operation calls a save |
| 2166 | } |
| 2167 | } |
| 2168 | |
| 2169 | |
| 2170 | public boolean handleSaveAs() { |
no test coverage detected