Changeset 1003 for trunk/autoquest-plugin-jfc/src/main/java
- Timestamp:
- 11/28/12 12:05:15 (12 years ago)
- Location:
- trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/JFCSimplifiedLogParser.java
r1001 r1003 37 37 import de.ugoe.cs.autoquest.eventcore.gui.MouseButtonUp; 38 38 import de.ugoe.cs.autoquest.eventcore.gui.MouseClick; 39 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementTree; 39 40 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModel; 40 41 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; … … 127 128 * </p> 128 129 */ 129 private JFCComponentTree currentComponentTree;130 private GUIElementTree currentGUIElementTree; 130 131 131 132 /** … … 293 294 */ 294 295 public GUIModel getGuiModel() { 295 return current ComponentTree.getGUIModel();296 return currentGUIElementTree.getGUIModel(); 296 297 } 297 298 … … 306 307 if (qName.equals("sessions")) { 307 308 currentSequence = new LinkedList<Event>(); 308 if (current ComponentTree == null)309 current ComponentTree = new JFCComponentTree();309 if (currentGUIElementTree == null) 310 currentGUIElementTree = new GUIElementTree(); 310 311 } 311 312 if (qName.equals("newsession")) { … … 333 334 String newName = atts.getValue("newName"); 334 335 int titleSource = Integer.parseInt(atts.getValue("titleSource")); 335 JFCGUIElement sourceElement = (JFCGUIElement) current ComponentTree.find(sourceHash);336 JFCGUIElement sourceElement = (JFCGUIElement) currentGUIElementTree.find(sourceHash); 336 337 JFCGUIElementSpec sourceSpec = (JFCGUIElementSpec) sourceElement.getSpecification(); 337 338 sourceSpec.setName(newName); … … 390 391 } 391 392 else if (qName.equals("component") && currentComponentHash != null) { 392 current ComponentTree.add(currentComponentHash, currentParentHash, currentGuiElementSpec);393 currentGUIElementTree.add(currentComponentHash, currentParentHash, currentGuiElementSpec); 393 394 // do something with the ancestor list here 394 395 … … 401 402 402 403 IGUIElement currentGUIElement; 403 currentGUIElement = current ComponentTree.find(currentEventSource);404 currentGUIElement = currentGUIElementTree.find(currentEventSource); 404 405 405 406 Event event = new Event -
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCComponentTree.java
r984 r1003 27 27 /** 28 28 * <p> 29 * This class provides an the interfaces for component trees. 29 * @deprecated Use GUIElementTree instead, which provides a generalization. 30 * </p> 31 * <p> 32 * This class provides the interfaces for component trees. 30 33 * </p> 31 34 * <p>
Note: See TracChangeset
for help on using the changeset viewer.