summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java
diff options
context:
space:
mode:
authorSimon Rettberg2018-06-20 17:01:59 +0200
committerSimon Rettberg2018-06-20 17:01:59 +0200
commite30422516ba4f22b1c5ff67c1f0e00521d602b62 (patch)
treeef5b16f3d76e25ea3ff336da990e84245933973c /dozentenmodulserver/src/main/java
parent[server] Don't use shared instance in multi-threaded app (diff)
downloadtutor-module-e30422516ba4f22b1c5ff67c1f0e00521d602b62.tar.gz
tutor-module-e30422516ba4f22b1c5ff67c1f0e00521d602b62.tar.xz
tutor-module-e30422516ba4f22b1c5ff67c1f0e00521d602b62.zip
[client] Add GUI change handling classes
Code to track if a dialog contains modified controls has been messy, error prone and all over the place. Adding a control to a dialog required adding multiple fields to the dialog class and adding new code in multiple places. This is an approach to create a centralized facility that would only require adding all controls of a dialog to the monitor in one place, and then defining a callback to get informed when the validity or content of the whole form changes. The monitor class will also remember the original state of the dialog, so you can tell if the user undoes their changes manually.
Diffstat (limited to 'dozentenmodulserver/src/main/java')
0 files changed, 0 insertions, 0 deletions