Ignore:
Timestamp:
12/05/12 12:54:01 (12 years ago)
Author:
fglaser
Message:
  • MFCLogParser and its components updated to work with generalized GUIElementTree
  • NOTE THAT GUIElementTree ADDS ALL COMPONENTS TO GUIModel NOT ONLY THE USED ONES (compare MFCWindowTree).
  • guimapping-MFC-Dummy.txt added to cover newly discovered classes (needs to be updated).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerCreate.java

    r940 r1006  
    1515package de.ugoe.cs.autoquest.plugin.mfc; 
    1616 
     17import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementTree; 
     18import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 
     19import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCGUIElementSpec; 
    1720import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 
    1821 
     
    3235     * </p> 
    3336     *  
    34      * @param windowTree the tree of GUI element specifications to be created and adapted during 
     37     * @param guiElementTree the tree of GUI element specifications to be created and adapted during 
    3538     *                   parsing 
    3639     */ 
    37     public HandlerCreate(MFCWindowTree windowTree) { 
    38         super(windowTree); 
     40    public HandlerCreate(GUIElementTree guiElementTree) { 
     41        super(guiElementTree); 
    3942    } 
    4043 
     
    8992    public void onEndElement() { 
    9093        if (hwnd != 0) { 
    91             super.getWindowTree().add(parentHwnd, hwnd, windowName, resourceId, className, isModal); 
     94                IGUIElementSpec spec = new MFCGUIElementSpec(hwnd, windowName, resourceId, className, isModal); 
     95            super.getGUIElementTree().add(hwnd, parentHwnd, spec); 
    9296        } 
    9397    } 
Note: See TracChangeset for help on using the changeset viewer.