08a6cb7b6c382fa097ca9aa094861fa9c5488287
[jalview.git] / src / ext / edu / ucsf / rbvi / strucviz2 / StructureSettings.java
1 package ext.edu.ucsf.rbvi.strucviz2;
2
3 /**
4  * This object maintains the relationship between Chimera objects and Cytoscape
5  * objects.
6  */
7 public class StructureSettings
8 {
9
10   // @Tunable(description = "Path to UCSF Chimera application", gravity = 4.0)
11   public String chimeraPath = null;
12
13   public StructureSettings(StructureManager manager)
14   {
15
16     chimeraPath = manager.getCurrentChimeraPath(null);
17
18     // This seems a little strange, but it has to do with the order of tunable
19     // interceptor
20     // handling. We need to set these selectors in our structure manager and
21     // dynamically
22     // pull the data out as needed....
23     manager.setStructureSettings(this);
24   }
25
26   public String getChimeraPath()
27   {
28     return chimeraPath;
29   }
30 }