package jalview.structure;
import java.awt.Color;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
* @return
*/
StructureCommandI openSession(String filepath);
+
+ /**
+ * Returns command to restore a previously saved version of an existing structure viewer session file.
+ * Default implementation calls 'openSession'
+ * @param filePath
+ * @return
+ */
+ StructureCommandI restoreSession(String filePath);
+
/**
* Returns a command to ask the viewer to close down
StructureCommandI getResidueAttributes(String attName);
List<StructureCommandI> centerViewOn(List<AtomSpecModel> residues);
+
+ default List<StructureCommandI> showHetatms(List<String> toShow) {
+ return Collections.EMPTY_LIST;
+ }
}