X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fstructure%2FSequenceListener.java;h=771b8a0f5490783ba2e8617bd71173e9aca75f3e;hb=refs%2Fheads%2Freleases%2FRelease_2_10_0_Branch;hp=bda215e6f63be35b22124cc7f41cd1d294c5ba76;hpb=3173d5515901341a2ae3211bd8e4400e966add35;p=jalview.git diff --git a/src/jalview/structure/SequenceListener.java b/src/jalview/structure/SequenceListener.java index bda215e..771b8a0 100644 --- a/src/jalview/structure/SequenceListener.java +++ b/src/jalview/structure/SequenceListener.java @@ -1,30 +1,37 @@ -/* - * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle - * - * This program 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 2 - * of the License, or (at your option) any later version. - * - * This program 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 this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ -package jalview.structure; - -import jalview.datamodel.*; - -public interface SequenceListener -{ - public void mouseOverSequence(SequenceI sequence, int index); - - public void highlightSequence(jalview.datamodel.SearchResults results); - - public void updateColours(SequenceI sequence, 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; + +public interface SequenceListener +{ + // TODO remove this? never called on SequenceListener type + public void mouseOverSequence(SequenceI sequence, int index, int pos); + + public void highlightSequence(jalview.datamodel.SearchResults results); + + // TODO remove this? never called + public void updateColours(SequenceI sequence, int index); + + public VamsasSource getVamsasSource(); + +}