Ignore:
Timestamp:
11/14/12 10:48:37 (12 years ago)
Author:
fglaser
Message:
  • Automatic class hierarchy scanning for to select correct mapping added
  • JFCComponentTree can now be inititialized with an existing GUIModel
  • JFCSimplifiedLogParser now writes the class itself as the first entry in ancestors children
  • newtrace updated to reflect changes in test case
File:
1 edited

Legend:

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

    r927 r984  
    8484        Properties mappings = getMappingsFromConfiguration(); 
    8585        IGUIElement guiElement = null; 
    86  
    87         String className = mappings.getProperty(specification.getType()); 
     86        String[] classHierarchy = specification.getClassHierarchy(); 
     87        int i = 0; 
     88        String className = null; 
     89        while (className == null && i < classHierarchy.length){ 
     90                className = mappings.getProperty(classHierarchy[i]); 
     91                i++; 
     92        } 
    8893        if (className != null) { 
    8994            try { 
Note: See TracChangeset for help on using the changeset viewer.