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

Method setTaskBag

src/com/chschmid/jdotxt/gui/JdotxtGUI.java:368–377  ·  view source on GitHub ↗
(TaskBag taskBag)

Source from the content-addressed store, hash-verified

366
367 // Let the GUI elements know of newly loaded tasks
368 public void setTaskBag(TaskBag taskBag) {
369 this.taskBag = taskBag;
370 filterPanel.setTaskBag(taskBag);
371 taskList.setTaskBag(taskBag);
372 filterPanel.updateFilterPanes();
373 taskList.updateTaskList();
374 toolbar.setEnabled(true);
375 toolbar.getButtonSave().setEnabled(taskBag.hasChanged());
376 setDefaultStatusText();
377 }
378
379 // Fonts and stuff
380 public static void loadLookAndFeel(String language) {

Callers 2

refreshGUIMethod · 0.95
runMethod · 0.45

Calls 6

setDefaultStatusTextMethod · 0.95
updateFilterPanesMethod · 0.80
getButtonSaveMethod · 0.80
hasChangedMethod · 0.65
updateTaskListMethod · 0.45
setEnabledMethod · 0.45

Tested by

no test coverage detected