apply version 2.7 copyright
[jalview.git] / src / jalview / structure / VamsasListener.java
index 1bf3931..af5d720 100644 (file)
@@ -1,8 +1,34 @@
+/*\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)\r
+ * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle\r
+ * \r
+ * This file is part of Jalview.\r
+ * \r
+ * Jalview is free software: you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License \r
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\r
+ * \r
+ * Jalview is distributed in the hope that it will be useful, but \r
+ * WITHOUT ANY WARRANTY; without even the implied warranty \r
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR \r
+ * PURPOSE.  See the GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.\r
+ */\r
 package jalview.structure;\r
 \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