X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2FMCview%2FPDBfile.java;h=c4fe563123894da879ff4dc1bb45d7585ff0e898;hb=75d17bc3d8444203906499e651df6a69f6c2f518;hp=1aa5cac3e57e06e8907da3f44190a820dab349cb;hpb=485ceb23bbae52bb2b0fd1def01e1f6822ececcf;p=jalview.git diff --git a/src/MCview/PDBfile.java b/src/MCview/PDBfile.java index 1aa5cac..c4fe563 100755 --- a/src/MCview/PDBfile.java +++ b/src/MCview/PDBfile.java @@ -1,144 +1,169 @@ +/* +* 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 MCview; -import jalview.datamodel.*; import java.io.*; + import java.net.*; + import java.util.*; +import java.awt.Color; public class PDBfile extends jalview.io.FileParse { + public Vector chains = new Vector(); + Vector lineArray = new Vector(); + String id; - public Vector chains = new Vector(); + public PDBfile(String[] lines) { + for (int i = 0; i < lines.length; i++) + lineArray.addElement(lines[i]); - Vector lineArray = new Vector(); - - public PDBfile(String [] lines) - { - for(int i=0; i