X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fgui%2FOverviewPanel.java;h=2426d4db11de517f70d504e9ef1b9de733d7354f;hb=8a6fa9ea9900d0f106529c3f6283e7f9d76dd2cb;hp=2e505213daf9be240f9531813678ab328379ebde;hpb=967de78a80a3fb48c8ba9ad6bd519abc17d6791b;p=jalview.git diff --git a/src/jalview/gui/OverviewPanel.java b/src/jalview/gui/OverviewPanel.java index 2e50521..2426d4d 100755 --- a/src/jalview/gui/OverviewPanel.java +++ b/src/jalview/gui/OverviewPanel.java @@ -1,20 +1,19 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) - * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, 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 file is part of Jalview. * - * 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. + * 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. * - * 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 + * 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.gui; @@ -67,7 +66,7 @@ public class OverviewPanel extends JPanel implements Runnable * Creates a new OverviewPanel object. * * @param ap - * DOCUMENT ME! + * DOCUMENT ME! */ public OverviewPanel(AlignmentPanel ap) { @@ -129,7 +128,8 @@ public class OverviewPanel extends JPanel implements Runnable { if (!av.wrapAlignment) { - // TODO: feature: jv2.5 detect shift drag and update selection from it. + // TODO: feature: jv2.5 detect shift drag and update selection from + // it. boxX = evt.getX(); boxY = evt.getY(); checkValid(); @@ -388,8 +388,7 @@ public class OverviewPanel extends JPanel implements Runnable { int fullsizeWidth = av.alignment.getWidth() * av.getCharWidth(); int fullsizeHeight = (av.alignment.getHeight() + av.alignment - .getHiddenSequences().getSize()) - * av.getCharHeight(); + .getHiddenSequences().getSize()) * av.getCharHeight(); int startRes = av.getStartRes(); int endRes = av.getEndRes(); @@ -437,7 +436,7 @@ public class OverviewPanel extends JPanel implements Runnable * DOCUMENT ME! * * @param g - * DOCUMENT ME! + * DOCUMENT ME! */ public void paintComponent(Graphics g) {