()
| 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 | /** |
no test coverage detected