X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureMappingcommandSet.java;h=9a39c10e3b5fd3b215fc452bd6dadedd38f284b5;hb=ad15cff29620f960119f80176f1fd443da9f6763;hp=5bf6e57c4be3c13e285fc06c3309c213ffae818c;hpb=ce89ec35928a6cb2f05a655c44c39a0249beb2d6;p=jalview.git diff --git a/src/jalview/structure/StructureMappingcommandSet.java b/src/jalview/structure/StructureMappingcommandSet.java index 5bf6e57..9a39c10 100644 --- a/src/jalview/structure/StructureMappingcommandSet.java +++ b/src/jalview/structure/StructureMappingcommandSet.java @@ -1,34 +1,62 @@ +/* + * 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; - /** * holder for script commands generated for a particular structure mapping + * * @author jimp - * + * */ -public class StructureMappingcommandSet { +public class StructureMappingcommandSet +{ /** * structure file for which these commands were generated */ public String mapping; + /** * set of commands */ public String[] commands; + /** - * some object that indicates what the commands can be parsed by (eg JmolCommands.class implies these are Jmol commands) + * some object that indicates what the commands can be parsed by (eg + * JmolCommands.class implies these are Jmol commands) */ public Object handledBy; + /** - * record the originating command generator, the structure mapping involved, and the set of commands to be passed. + * record the originating command generator, the structure mapping involved, + * and the set of commands to be passed. + * * @param handledBy * @param files * @param commands */ - public StructureMappingcommandSet(Object handledBy, String files, String[] commands) + public StructureMappingcommandSet(Object handledBy, String files, + String[] commands) { - this.mapping=files; - this.handledBy=handledBy; - this.commands=commands; + this.mapping = files; + this.handledBy = handledBy; + this.commands = commands; } }