comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/ModuleSelection.java @ 8872:60278b5fe4d9

Just c comment describing an existing bug
author gernotbelger
date Wed, 07 Feb 2018 12:03:21 +0100
parents c26fb37899ca
children 7ebe5d463740
comparison
equal deleted inserted replaced
8871:78cd6572778d 8872:60278b5fe4d9
72 72
73 private Map<String, HLayout> rivers = null; 73 private Map<String, HLayout> rivers = null;
74 74
75 private VLayout radioPanel; 75 private VLayout radioPanel;
76 76
77 /* TODO: seems that it needs to be static for the callback, is this really necessary? 77 /* TODO: seems that it needs to be static for the callback, is this really necessary?
78 * TODO: what happens if we have several 'new project' windows open in parallel? 78 * FIXME: this is (most probable) the reason for the following bug:
79 * - open two different new projects
80 * - select in both windows two differenz modules (e.g. w-info in the first, m-info in the second)
81 * - now click on a river in each window
82 * ---> both windows will now show the calculations of the same module (i.e. either both m-info, or both w-info; not one m-info the the other w-info as it should).
79 * */ 83 * */
80 private static Module selectedModule = null; 84 private static Module selectedModule = null;
81 85
82 public ModuleSelection() { 86 public ModuleSelection() {
83 readModules(); 87 readModules();

http://dive4elements.wald.intevation.org