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
File:
1 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    /** 
Note: See TracChangeset for help on using the changeset viewer.