Changeset 990 for trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs
- Timestamp:
- 11/15/12 11:33:45 (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
r984 r990 136 136 * </p> 137 137 */ 138 private List<String> current ClassHierarchy;138 private List<String> currentTypeHierarchy; 139 139 140 140 /** … … 356 356 } 357 357 else if (qName.equals("ancestor")){ 358 current ClassHierarchy.add(atts.getValue("name"));358 currentTypeHierarchy.add(atts.getValue("name")); 359 359 } 360 360 else if (qName.equals("ancestors")){ 361 current ClassHierarchy = new LinkedList<String>();361 currentTypeHierarchy = new LinkedList<String>(); 362 362 } 363 363 } … … 378 378 } 379 379 else if (qName.equals("ancestors")){ 380 currentGuiElementSpec.set ClassHierarchy(currentClassHierarchy);380 currentGuiElementSpec.setTypeHierarchy(currentTypeHierarchy); 381 381 } 382 382 else if (qName.equals("component") && currentComponentHash != null) { … … 386 386 currentComponentHash = null; 387 387 currentParentHash = null; 388 current ClassHierarchy = null;388 currentTypeHierarchy = null; 389 389 } 390 390 else if (currentEventId != null) { -
trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCGUIElementSpec.java
r984 r990 91 91 /** 92 92 * <p> 93 * Classhierarchy of the class itself94 * </p> 95 */ 96 private List<String> classHierarchy = null;93 * Type hierarchy of the class itself 94 * </p> 95 */ 96 private List<String> typeHierarchy = null; 97 97 98 98 /* … … 374 374 /** 375 375 * <p> 376 * Sets the classhierarchy of the specified GUI element.377 * @param classHierarchy378 * </p> 379 */ 380 public void set ClassHierarchy(List<String> classHierarchy){381 this. classHierarchy = classHierarchy;376 * Sets the type hierarchy of the specified GUI element. 377 * @param typeHierarchy 378 * </p> 379 */ 380 public void setTypeHierarchy(List<String> typeHierarchy){ 381 this.typeHierarchy = typeHierarchy; 382 382 } 383 383 … … 421 421 422 422 @Override 423 public String[] get ClassHierarchy() {424 if ( classHierarchy == null){423 public String[] getTypeHierarchy() { 424 if (typeHierarchy == null){ 425 425 return new String[]{(getType())}; 426 426 } 427 427 else 428 return classHierarchy.toArray(new String[classHierarchy.size()]);428 return typeHierarchy.toArray(new String[typeHierarchy.size()]); 429 429 } 430 430
Note: See TracChangeset
for help on using the changeset viewer.