JAL-1333 JAL-1527 refactors to create core structure viewer binding architecture...
[jalview.git] / src / jalview / api / SequenceStructureBinding.java
index 5047699..32c5bca 100644 (file)
@@ -29,6 +29,23 @@ package jalview.api;
 public interface SequenceStructureBinding
 {
 
-  // todo: decide what this really means - we could return a reference to the
-  // alignment/jmol binding, or some other binding.
+  /**
+   * 
+   * @return true if Jalview or the Viewer is still restoring state or loading
+   *         is still going on (see setFinsihedLoadingFromArchive)
+   */
+  void setLoadingFromArchive(boolean loadingFromArchive);
+
+  boolean isLoadingFromArchive();
+
+  /**
+   * modify flag which controls if sequence colouring events are honoured by the
+   * binding. Should be true for normal operation
+   * 
+   * @param finishedLoading
+   */
+  void setFinishedLoadingFromArchive(boolean finishedLoading);
+
+  boolean isLoadingFinished();
+
 }