Changeset 2146 for trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/IGUIElementSpec.java
- Timestamp:
- 05/19/17 11:31:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-events/src/main/java/de/ugoe/cs/autoquest/eventcore/guimodel/IGUIElementSpec.java
r990 r2146 17 17 import java.io.Serializable; 18 18 19 import de.ugoe.cs.autoquest.eventcore.IEventTargetSpec; 20 19 21 /** 20 22 * <p> … … 25 27 * @author Patrick Harms, Steffen Herbold 26 28 */ 27 public interface IGUIElementSpec extends Serializable {29 public interface IGUIElementSpec extends Serializable, IEventTargetSpec { 28 30 29 31 /** … … 51 53 public String[] getTypeHierarchy(); 52 54 53 /**54 * <p>55 * Evaluates if two GUI specifications are similar. Similar means that a heuristic determines56 * that the two GUI specifications describe the same GUI element.57 * </p>58 *59 * @param other60 * specification whose similarity to this is evaluated61 * @return true if the specifications are similar; false otherwise62 */63 public boolean getSimilarity(IGUIElementSpec other);64 65 /**66 * <p>67 * Defines that {@link IGUIElement} implementations have to define equals.68 * </p>69 *70 * @see Object#equals(Object)71 */72 @Override73 public boolean equals(Object other);74 75 /**76 * <p>77 * Defines that {@link IGUIElement} implementations have to define hashCode.78 * </p>79 *80 * @see Object#hashCode()81 */82 @Override83 public int hashCode();84 55 }
Note: See TracChangeset
for help on using the changeset viewer.