X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FIdCanvas.java;h=c4c12cb6cf037a55620dd5292c82117c1ed776f9;hb=ab43013b7e357b84b4abade0dba949668dfb2a0e;hp=2a2acfb848283672276ef29ddf6779f2c4da45dc;hpb=d053a3c980cf4318b9a19a255f9fc870e74de989;p=jalview.git diff --git a/src/jalview/gui/IdCanvas.java b/src/jalview/gui/IdCanvas.java index 2a2acfb..c4c12cb 100755 --- a/src/jalview/gui/IdCanvas.java +++ b/src/jalview/gui/IdCanvas.java @@ -1,24 +1,29 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1) + * Copyright (C) 2014 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. - * + * 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 . + * 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.gui; import java.awt.*; import java.awt.image.*; +import java.util.List; + import javax.swing.*; import jalview.datamodel.*; @@ -47,7 +52,7 @@ public class IdCanvas extends JPanel boolean fastPaint = false; - java.util.Vector searchResults; + List searchResults; FontMetrics fm; @@ -476,12 +481,12 @@ public class IdCanvas extends JPanel /** * DOCUMENT ME! * - * @param found + * @param list * DOCUMENT ME! */ - public void setHighlighted(java.util.Vector found) + public void setHighlighted(List list) { - searchResults = found; + searchResults = list; repaint(); } }