X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureCommandsI.java;h=fc8b8283c4ff42f2b78dd0c38919e8334a65e5c3;hb=ac2ed85d81f322445555e01b67f758a77f2ede74;hp=c8c8070f756614dca7c1e315d768093b10d32f45;hpb=d654b1f014790b7ae25e6eec631847170a930987;p=jalview.git diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index c8c8070..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 @@ -243,4 +253,11 @@ public interface StructureCommandsI * @return */ StructureCommandI getResidueAttributes(String attName); + + List centerViewOn(List residues); + + default List showHetatms(List toShow) + { + return Collections.EMPTY_LIST; + } }