Changeset 966


Ignore:
Timestamp:
11/07/12 14:33:34 (12 years ago)
Author:
sherbold
Message:
  • extended IGUIElementSpec interface to account for possible type hierarchies and added dummy implementations for the extension
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/IGUIElementSpec.java

    r927 r966  
    2222 * </p> 
    2323 *  
    24  * @version 1.0 
    25  * @author Patrick Harms 
     24 * @version 1.1 
     25 * @author Patrick Harms, Steffen Herbold 
    2626 */ 
    2727public interface IGUIElementSpec extends Serializable { 
     
    2929    /** 
    3030     * <p> 
    31      * Returns a string represenation of the GUI element type that this specification represents. 
     31     * Returns a string representation of the GUI element type that this specification represents. 
    3232     * </p> 
    3333     *  
     
    3535     */ 
    3636    public String getType(); 
     37     
     38    /** 
     39     * <p> 
     40     * Returns a string array with the names of the classes in the hierarchy of the GUI element that 
     41     * this specification represents. The first element is the GUI element's class, the second its 
     42     * parent, the third its grand-parent, etc. 
     43     * </p> 
     44     * <p> 
     45     * In case the class hierarchy is unknown or the GUI elements are not based on 
     46     * object-orientation, this method should <code>return new String[]{getType()};</code>. 
     47     * </p> 
     48     *  
     49     * @return 
     50     */ 
     51    public String[] getClassHierarchy(); 
    3752 
    3853    /** 
  • trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLGUIElementSpec.java

    r961 r966  
    7070    } 
    7171 
     72    @Override 
     73    public String[] getClassHierarchy() { 
     74        // TODO Auto-generated method stub 
     75        System.out.println("TODO: implement IGUIElementSpec.getClassHierarchy "); 
     76        return null; 
     77    } 
     78 
    7279} 
  • trunk/autoquest-plugin-jfc/src/main/java/de/ugoe/cs/autoquest/plugin/jfc/guimodel/JFCGUIElementSpec.java

    r927 r966  
    403403    } 
    404404 
     405    @Override 
     406    public String[] getClassHierarchy() { 
     407        // TODO Auto-generated method stub 
     408        System.out.println("TODO: implement IGUIElementSpec.getClassHierarchy "); 
     409        return null; 
     410    } 
     411 
    405412} 
  • trunk/autoquest-plugin-mfc/src/main/java/de/ugoe/cs/autoquest/plugin/mfc/guimodel/MFCGUIElementSpec.java

    r940 r966  
    414414    } 
    415415 
     416    @Override 
     417    public String[] getClassHierarchy() { 
     418        // TODO Auto-generated method stub 
     419        System.out.println("TODO: implement IGUIElementSpec.getClassHierarchy "); 
     420        return null; 
     421    } 
     422 
    416423} 
Note: See TracChangeset for help on using the changeset viewer.