MCPcopy Create free account
hub / github.com/chms/jdotxt / saveTasks

Method saveTasks

src/com/chschmid/jdotxt/gui/JdotxtGUI.java:304–314  ·  view source on GitHub ↗
(boolean forceSave)

Source from the content-addressed store, hash-verified

302
303 // Toolbar functions
304 private void saveTasks(boolean forceSave) {
305 if (forceSave) taskBag.update(null);
306 toolbar.getButtonSave().setEnabled(false);
307 Thread t = new Thread(new Runnable() {
308 @Override
309 public void run() {
310 Jdotxt.storeTodos();
311 }
312 });
313 t.start();
314 }
315
316 private void reloadTasks() {
317 reset();

Callers 4

actionPerformedMethod · 0.95
showReloadDialogMethod · 0.95
showSettingsDialogMethod · 0.95
dispatchKeyEventMethod · 0.80

Calls 3

getButtonSaveMethod · 0.80
updateMethod · 0.65
setEnabledMethod · 0.45

Tested by

no test coverage detected