X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FVamsasListener.java;h=c8f801bf9ae257a7cd4cd1289dcad9673a550d01;hb=2f3b33ed7140d07e2bb31960ce5aedfed134dfeb;hp=1bf3931d609dd363be41f719736cbb919fb03643;hpb=bc510a49947e32b3886275b869749cd3f42bde08;p=jalview.git diff --git a/src/jalview/structure/VamsasListener.java b/src/jalview/structure/VamsasListener.java index 1bf3931..c8f801b 100644 --- a/src/jalview/structure/VamsasListener.java +++ b/src/jalview/structure/VamsasListener.java @@ -1,8 +1,34 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + */ package jalview.structure; import jalview.datamodel.SequenceI; +/** + * The vamsasListener allows peers to receive mouseOver events from any Jalview alignment window. + * @author JimP + * + * @history Version 1 released for Jalview 2.4. + * @history Version 2 mouseOver refactored to include an additional parameter allowing the source of the event to be passed to the handler. + * + * + */ public interface VamsasListener { - public void mouseOver(SequenceI seq, int index); + public void mouseOver(SequenceI seq, int index, VamsasSource source); }