Ignore:
Timestamp:
04/07/14 08:42:08 (10 years ago)
Author:
pharms
Message:
  • added support and initial implementation of a platform specific distance measure between GUI elements
File:
1 edited

Legend:

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

    r1264 r1490  
    2626 * @author Patrick Harms 
    2727 */ 
    28 public class HTMLGUIElement extends AbstractDefaultGUIElement { 
     28public abstract class HTMLGUIElement extends AbstractDefaultGUIElement { 
    2929 
    3030    /** 
     
    3434     */ 
    3535    private static final long serialVersionUID = 1L; 
     36     
     37    /** 
     38     * <p> 
     39     * the default distance value for different servers 
     40     * </p> 
     41     */ 
     42    protected static final double DISTANCE_DISTINCT_SERVER = 1.0; 
     43 
     44    /** 
     45     * <p> 
     46     * the default distance value for same server but different documents 
     47     * </p> 
     48     */ 
     49    protected static final double DISTANCE_SAME_SERVER = 0.75; 
     50 
     51    /** 
     52     * <p> 
     53     * the default distance value for same document but different page elements 
     54     * </p> 
     55     */ 
     56    protected static final double DISTANCE_SAME_DOCUMENT = 0.5; 
     57 
     58    /** 
     59     * <p> 
     60     * the default distance value for same parent div but different page elements  
     61     * </p> 
     62     */ 
     63    protected static final double DISTANCE_SAME_DIV = 0.2; 
     64 
     65    /** 
     66     * <p> 
     67     * the default distance value for identical elements 
     68     * </p> 
     69     */ 
     70    protected static final double DISTANCE_NONE = 0.0; 
    3671 
    3772    /** 
Note: See TracChangeset for help on using the changeset viewer.