JAL-1333 JAL-1527 refactors to create core structure viewer binding architecture...
[jalview.git] / src / jalview / api / structures / JalviewStructureDisplayI.java
1 package jalview.api.structures;
2
3 import jalview.api.FeatureRenderer;
4 import jalview.api.SequenceRenderer;
5 import jalview.api.SequenceStructureBinding;
6 import jalview.datamodel.AlignmentI;
7 import jalview.datamodel.SequenceI;
8 import jalview.ext.jmol.JalviewJmolBinding;
9 import jalview.structure.StructureMappingcommandSet;
10 import jalview.structure.StructureSelectionManager;
11
12 public interface JalviewStructureDisplayI
13 {
14
15   SequenceStructureBinding getBinding();
16
17   /**
18    * @return true if there is an active GUI handling a structure display 
19    */
20   boolean isVisible();
21
22   /**
23    * enable or disable the structure display - note this might just hide or show a GUI element, but not actually reset the display
24    * @param b
25    */
26   void setVisible(boolean b);
27
28   /**
29    * free up any external resources that were used by this display and collect garbage
30    */
31   void dispose();
32
33   /**
34    * shutdown any structure viewing processes started by this display
35    */
36   void closeViewer();
37
38
39 }