Ignore:
Timestamp:
05/19/17 11:31:29 (7 years ago)
Author:
pharms
Message:
  • refactored GUI model so that hierarchical event target structures can also be used and created by plugins not being strictly for GUIs
Location:
trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android
Files:
3 edited

Legend:

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

    r2043 r2146  
    3939 
    4040import de.ugoe.cs.autoquest.eventcore.Event; 
     41import de.ugoe.cs.autoquest.eventcore.EventTargetModelException; 
    4142import de.ugoe.cs.autoquest.eventcore.gui.IInteraction; 
    4243import de.ugoe.cs.autoquest.eventcore.gui.TextInput; 
     
    4445import de.ugoe.cs.autoquest.eventcore.guimodel.GUIElementTree; 
    4546import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModel; 
    46 import de.ugoe.cs.autoquest.eventcore.guimodel.GUIModelException; 
    4747import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 
    4848import de.ugoe.cs.autoquest.plugin.android.guimodel.ANDROIDGUIElement; 
     
    374374                                          currentGUIElementSpec); 
    375375            } 
    376             catch (GUIModelException e) { 
     376            catch (EventTargetModelException e) { 
    377377                throw new SAXException("could not handle GUI element with hash " + 
    378378                    currentGUIElementHash + ": " + e.getMessage(), e); 
  • trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/guimodel/ANDROIDGUIElement.java

    r1879 r2146  
    1515package de.ugoe.cs.autoquest.plugin.android.guimodel; 
    1616 
     17import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 
    1718import de.ugoe.cs.autoquest.eventcore.guimodel.AbstractDefaultGUIElement; 
    1819import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement; 
    19 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 
    2020import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIView; 
    2121 
     
    6868     */ 
    6969    @Override 
    70     public void updateSpecification(IGUIElementSpec furtherSpec) { 
     70    public void updateSpecification(IEventTargetSpec furtherSpec) { 
    7171        // nothing do do here up to now. 
    7272    } 
  • trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/guimodel/ANDROIDGUIElementSpec.java

    r1880 r2146  
    1717import java.util.List; 
    1818 
     19import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 
    1920import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 
    2021 
     
    106107     */ 
    107108    @Override 
    108     public boolean getSimilarity(IGUIElementSpec other) { 
     109    public boolean getSimilarity(IEventTargetSpec other) { 
    109110        if (this == other) { 
    110111            return true; 
Note: See TracChangeset for help on using the changeset viewer.