X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FSequencePoint.java;h=9a881bc33796dcb472f59221a010bf6a8e321a68;hb=c16c1633e1a5acc9f44e4de40b9abbb8a59b99b4;hp=5da4d645534e705e3d9f2e80ebd5bc271134e7af;hpb=99c58ee0ae2a848f982552e53feaf6d5cb9925e5;p=jalview.git diff --git a/src/jalview/datamodel/SequencePoint.java b/src/jalview/datamodel/SequencePoint.java index 5da4d64..9a881bc 100755 --- a/src/jalview/datamodel/SequencePoint.java +++ b/src/jalview/datamodel/SequencePoint.java @@ -1,37 +1,51 @@ -/* -* Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 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.datamodel; -import java.util.*; -import java.awt.*; - - -public class SequencePoint { - - // SMJS PUBLIC - public SequenceI sequence; - public float[] coord; - // SMJS ENDPUBLIC - - public SequencePoint(SequenceI sequence, float[] coord) { - this.sequence = sequence; - this.coord = coord; - } - -} +/* + * 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 + * + * 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.datamodel; + +/** + * DOCUMENT ME! + * + * @author $author$ + * @version $Revision$ + */ +public class SequencePoint +{ + // SMJS PUBLIC + /** + * for points with no real physical association with an alignment sequence + */ + public boolean isPlaceholder = false; + + /** + * Associated alignment sequence, or dummy sequence object. + */ + public SequenceI sequence; + + /** + * array of coordinates in embedded sequence space. + */ + public float[] coord; + + // SMJS ENDPUBLIC + public SequencePoint(SequenceI sequence, float[] coord) + { + this.sequence = sequence; + this.coord = coord; + } +}