Ignore:
Timestamp:
11/15/12 11:33:45 (12 years ago)
Author:
pharms
Message:
  • rename of GUI element class hierarchy to type hierarchy, as the other method is also called "getType"
  • corrected some implementations of "getTypeHierarchy" which were not implemented so far.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCGUIElementSpec.java

    r984 r990  
    9191    /** 
    9292     * <p> 
    93      * Class hierarchy of the class itself 
    94      * </p> 
    95      */ 
    96     private List<String> classHierarchy = null; 
     93     * Type hierarchy of the class itself 
     94     * </p> 
     95     */ 
     96    private List<String> typeHierarchy = null; 
    9797 
    9898    /* 
     
    374374    /** 
    375375     * <p> 
    376      * Sets the class hierarchy of the specified GUI element. 
    377      * @param classHierarchy 
    378      * </p> 
    379      */ 
    380     public void setClassHierarchy(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; 
    382382    } 
    383383 
     
    421421 
    422422    @Override 
    423     public String[] getClassHierarchy() { 
    424         if (classHierarchy == null){ 
     423    public String[] getTypeHierarchy() { 
     424        if (typeHierarchy == null){ 
    425425                return new String[]{(getType())}; 
    426426        } 
    427427        else 
    428                 return classHierarchy.toArray(new String[classHierarchy.size()]); 
     428                return typeHierarchy.toArray(new String[typeHierarchy.size()]); 
    429429    } 
    430430 
Note: See TracChangeset for help on using the changeset viewer.