5bf6e57c4be3c13e285fc06c3309c213ffae818c
[jalview.git] / src / jalview / structure / StructureMappingcommandSet.java
1 package jalview.structure;
2
3
4 /**
5  * holder for script commands generated for a particular structure mapping
6  * @author jimp
7  *
8  */
9 public class StructureMappingcommandSet {
10   /**
11    * structure file for which these commands were generated
12    */
13   public String mapping;
14   /**
15    * set of commands
16    */
17   public String[] commands;
18   /**
19    * some object that indicates what the commands can be parsed by (eg JmolCommands.class implies these are Jmol commands)
20    */
21   public Object handledBy;
22   /**
23    * record the originating command generator, the structure mapping involved, and the set of commands to be passed.
24    * @param handledBy
25    * @param files
26    * @param commands
27    */
28   public StructureMappingcommandSet(Object handledBy, String files, String[] commands)
29   {
30     this.mapping=files;
31     this.handledBy=handledBy;
32     this.commands=commands;
33   }
34 }