X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureCommandsI.java;h=fc8b8283c4ff42f2b78dd0c38919e8334a65e5c3;hb=ac2ed85d81f322445555e01b67f758a77f2ede74;hp=575f256e7e792154850ad5a3161fda4d3692604b;hpb=2115060f8ce4b907d033a77ccd929420c61ec234;p=jalview.git diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index 575f256..fc8b828 100644 --- a/src/jalview/structure/StructureCommandsI.java +++ b/src/jalview/structure/StructureCommandsI.java @@ -21,6 +21,7 @@ package jalview.structure; import java.awt.Color; +import java.util.Collections; import java.util.List; import java.util.Map; @@ -195,6 +196,15 @@ public interface StructureCommandsI 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 * * @return @@ -245,4 +255,9 @@ public interface StructureCommandsI StructureCommandI getResidueAttributes(String attName); List centerViewOn(List residues); + + default List showHetatms(List toShow) + { + return Collections.EMPTY_LIST; + } }