X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2Fstructures%2FJalviewStructureDisplayI.java;fp=src%2Fjalview%2Fapi%2Fstructures%2FJalviewStructureDisplayI.java;h=e37f46710329352d7dd0b94c2462ecb73f6b5339;hb=ecfc49bc5a7e416c0f967677651923993f105dd8;hp=0000000000000000000000000000000000000000;hpb=d0daeb9399f3effac613d8df8431eaebf01a851a;p=jalview.git diff --git a/src/jalview/api/structures/JalviewStructureDisplayI.java b/src/jalview/api/structures/JalviewStructureDisplayI.java new file mode 100644 index 0000000..e37f467 --- /dev/null +++ b/src/jalview/api/structures/JalviewStructureDisplayI.java @@ -0,0 +1,39 @@ +package jalview.api.structures; + +import jalview.api.FeatureRenderer; +import jalview.api.SequenceRenderer; +import jalview.api.SequenceStructureBinding; +import jalview.datamodel.AlignmentI; +import jalview.datamodel.SequenceI; +import jalview.ext.jmol.JalviewJmolBinding; +import jalview.structure.StructureMappingcommandSet; +import jalview.structure.StructureSelectionManager; + +public interface JalviewStructureDisplayI +{ + + SequenceStructureBinding getBinding(); + + /** + * @return true if there is an active GUI handling a structure display + */ + boolean isVisible(); + + /** + * enable or disable the structure display - note this might just hide or show a GUI element, but not actually reset the display + * @param b + */ + void setVisible(boolean b); + + /** + * free up any external resources that were used by this display and collect garbage + */ + void dispose(); + + /** + * shutdown any structure viewing processes started by this display + */ + void closeViewer(); + + +}