X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FVamsasListener.java;h=c328c43d6125d6cd99e41f637bc4ade9dbd830cf;hb=9d2d179549fa20c2ea0d96198009a142c0d4fb65;hp=fa1f13e1196b1f8605097f2f6274b86fd285102e;hpb=153dd62dc91da13ae732600e6ea55ddbe15eab39;p=jalview.git diff --git a/src/jalview/structure/VamsasListener.java b/src/jalview/structure/VamsasListener.java index fa1f13e..c328c43 100644 --- a/src/jalview/structure/VamsasListener.java +++ b/src/jalview/structure/VamsasListener.java @@ -1,25 +1,41 @@ -/* - * 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; - -public interface VamsasListener -{ - public void mouseOver(SequenceI seq, int index); -} +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ +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 mouseOverSequence(SequenceI seq, int index, + VamsasSource source); +}