JAL-1761 pattern for structure viewer construction from project file
[jalview.git] / src / jalview / structure / StructureCommandsI.java
index 871d84b..5a0db0a 100644 (file)
@@ -4,9 +4,6 @@ import java.awt.Color;
 import java.util.List;
 import java.util.Map;
 
-import jalview.api.AlignmentViewPanel;
-import jalview.datamodel.SequenceI;
-
 /**
  * Methods that generate commands that can be sent to a molecular structure
  * viewer program (e.g. Jmol, Chimera, ChimeraX)
@@ -160,4 +157,13 @@ public interface StructureCommandsI
    */
   List<StructureCommandI> setAttributes(
           Map<String, Map<Object, AtomSpecModel>> featureValues);
+
+  /**
+   * Returns command to open a saved structure viewer session file, or null if
+   * not supported
+   * 
+   * @param filepath
+   * @return
+   */
+  StructureCommandI openSession(String filepath);
 }