Changeset 1006 for trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerCreate.java
- Timestamp:
- 12/05/12 12:54:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/HandlerCreate.java
r940 r1006 15 15 package de.ugoe.cs.autoquest.plugin.mfc; 16 16 17 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementTree; 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 19 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCGUIElementSpec; 17 20 import de.ugoe.cs.autoquest.plugin.mfc.guimodel.MFCWindowTree; 18 21 … … 32 35 * </p> 33 36 * 34 * @param windowTree the tree of GUI element specifications to be created and adapted during37 * @param guiElementTree the tree of GUI element specifications to be created and adapted during 35 38 * parsing 36 39 */ 37 public HandlerCreate( MFCWindowTree windowTree) {38 super( windowTree);40 public HandlerCreate(GUIElementTree guiElementTree) { 41 super(guiElementTree); 39 42 } 40 43 … … 89 92 public void onEndElement() { 90 93 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); 92 96 } 93 97 }
Note: See TracChangeset
for help on using the changeset viewer.