Changeset 1115 for trunk


Ignore:
Timestamp:
03/06/13 23:34:55 (12 years ago)
Author:
pharms
Message:
  • corrected equality handling of GUI elements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/AbstractDefaultGUIElement.java

    r1051 r1115  
    217217                    list1.addAll(list2); 
    218218                    identityHashMap.put(guiElement2, list1); 
     219                     
     220                    // we also have to set this new list for all other elements for which so 
     221                    // far list2 was registered 
     222                    for (IGUIElement candidate : list2) { 
     223                        identityHashMap.put(candidate, list1); 
     224                    } 
    219225                } 
    220226                // else 
Note: See TracChangeset for help on using the changeset viewer.