refactored VamsasListener to allow the source of the event to be passed to handlers
[jalview.git] / src / jalview / structure / VamsasListener.java
index fa1f13e..c8f801b 100644 (file)
@@ -19,7 +19,16 @@ package jalview.structure;
 \r
 import jalview.datamodel.SequenceI;\r
 \r
+/**\r
+ * The vamsasListener allows peers to receive mouseOver events from any Jalview alignment window.\r
+ * @author JimP\r
+ *\r
+ * @history Version 1 released for Jalview 2.4.\r
+ * @history Version 2 mouseOver refactored to include an additional parameter allowing the source of the event to be passed to the handler. \r
+ * \r
+ * \r
+ */\r
 public interface VamsasListener\r
 {\r
-  public void mouseOver(SequenceI seq, int index);\r
+  public void mouseOver(SequenceI seq, int index, VamsasSource source);\r
 }\r