Merge branch 'features/JAL-1333' into Release_2_8_2_Branch
[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 objects.
5  */
6 public class StructureSettings {
7
8 //      @Tunable(description = "Path to UCSF Chimera application", gravity = 4.0)
9         public String chimeraPath = null;
10
11         public StructureSettings(StructureManager manager) {
12                 
13                 chimeraPath = manager.getCurrentChimeraPath(null);
14
15                 // This seems a little strange, but it has to do with the order of tunable interceptor
16                 // handling. We need to set these selectors in our structure manager and dynamically
17                 // pull the data out as needed....
18                 manager.setStructureSettings( this);
19         }
20
21
22         public String getChimeraPath() {
23                 return chimeraPath;
24         }
25 }