Changeset 1815 for trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/guimodel/ANDROIDGUIElementSpec.java
- Timestamp:
- 11/07/14 12:55:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-android/src/main/java/de/ugoe/cs/autoquest/plugin/android/guimodel/ANDROIDGUIElementSpec.java
r1813 r1815 14 14 package de.ugoe.cs.autoquest.plugin.android.guimodel; 15 15 16 import java.util.List; 17 16 18 import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElementSpec; 17 19 … … 36 38 /* 37 39 * (non-Javadoc) see 38 * de.ugoe.cs.autoquest.androidmonitor.AndroidmonitorLogFile 40 * de.ugoe.cs.autoquest.androidmonitor.AndroidmonitorLogFile#logComponent() 39 41 */ 40 42 /** … … 70 72 */ 71 73 private String type; 74 75 /** 76 * <p> 77 * Type hierarchy of the class itself 78 * </p> 79 */ 80 private List<String> typeHierarchy = null; 72 81 73 82 /* … … 90 99 @Override 91 100 public String[] getTypeHierarchy() { 92 return new String[] { (getType()) }; 93 // TODO change this part after adding ancestors in 94 // de.ugoe.cs.autoquest.androidmonitor.AndroidmonitorLogFile#addComponent 101 if (typeHierarchy == null) { 102 return new String[] 103 { (getType()) }; 104 } 105 else 106 return typeHierarchy.toArray(new String[typeHierarchy.size()]); 95 107 } 96 108 … … 173 185 this.type = type; 174 186 } 187 188 /** 189 * <p> 190 * Sets the type hierarchy of the specified GUI element. 191 * 192 * @param typeHierarchy 193 * </p> 194 */ 195 public void setTypeHierarchy(List<String> typeHierarchy) { 196 this.typeHierarchy = typeHierarchy; 197 } 198 175 199 176 200 }
Note: See TracChangeset
for help on using the changeset viewer.