Changeset 2146 for trunk/autoquest-core-usability/src
- Timestamp:
- 05/19/17 11:31:29 (7 years ago)
- Location:
- trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/DefaultValueRule.java
r2042 r2146 29 29 30 30 import de.ugoe.cs.autoquest.eventcore.Event; 31 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 32 import de.ugoe.cs.autoquest.eventcore.IHierarchicalEventTarget; 33 import de.ugoe.cs.autoquest.eventcore.IHierarchicalEventTargetModel; 31 34 import de.ugoe.cs.autoquest.eventcore.gui.MouseClick; 32 35 import de.ugoe.cs.autoquest.eventcore.gui.TextInput; … … 609 612 610 613 /** 614 * 615 */ 616 public IHierarchicalEventTargetModel<?> getEventTargetModel() { 617 return target.getEventTargetModel(); 618 } 619 620 /** 611 621 * 612 622 */ … … 653 663 * 654 664 */ 655 public void updateSpecification(I GUIElementSpec furtherSpec) {665 public void updateSpecification(IEventTargetSpec furtherSpec) { 656 666 target.updateSpecification(furtherSpec); 657 667 } … … 660 670 * 661 671 */ 662 public void addEqual GUIElement(IGUIElement equalElement) {663 target.addEqual GUIElement(equalElement);672 public void addEqualEventTarget(IHierarchicalEventTarget equalElement) { 673 target.addEqualEventTarget(equalElement); 664 674 } 665 675 -
trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/RuleUtils.java
r1918 r2146 23 23 import java.util.Map; 24 24 25 import de.ugoe.cs.autoquest.eventcore. guimodel.GUIElementGroup;25 import de.ugoe.cs.autoquest.eventcore.HierarchicalEventTargetGroup; 26 26 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 27 27 … … 123 123 124 124 while (parent != null) { 125 if (!(parent instanceof GUIElementGroup)) {125 if (!(parent instanceof HierarchicalEventTargetGroup)) { 126 126 result = parent.toString() + "/" + result; 127 127 } … … 149 149 IGUIElement parent = guiElement; 150 150 while (parent != null) { 151 if (!(parent instanceof GUIElementGroup)) {151 if (!(parent instanceof HierarchicalEventTargetGroup)) { 152 152 path.addFirst(parent); 153 153 } -
trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/UnusedGUIElementsRule.java
r2135 r2146 24 24 25 25 import de.ugoe.cs.autoquest.eventcore.Event; 26 import de.ugoe.cs.autoquest.eventcore.IHierarchicalEventTargetModel; 26 27 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModel; 27 28 import de.ugoe.cs.autoquest.eventcore.guimodel.IButton; … … 175 176 GUIModel model = result.values().iterator().next().iterator().next().getGUIModel(); 176 177 177 GUIModel.Traversertraverser = model.getTraverser();178 IHierarchicalEventTargetModel.Traverser<IGUIElement> traverser = model.getTraverser(); 178 179 179 180 IGUIElement currentGUIElement = null;
Note: See TracChangeset
for help on using the changeset viewer.