X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureCommandsI.java;h=fc8b8283c4ff42f2b78dd0c38919e8334a65e5c3;hb=bc1a3842b31a35a7794f4afec4911ad421c7c3e4;hp=2b3502d774d54ba98ec450049aae56b9539bffbd;hpb=7f09e6ac5717bc78373c5d77f309831403e6ebf8;p=jalview.git diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index 2b3502d..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 @@ -246,7 +256,8 @@ public interface StructureCommandsI List centerViewOn(List residues); - StructureCommandI saveState(String label); - - StructureCommandI restoreState(String label); + default List showHetatms(List toShow) + { + return Collections.EMPTY_LIST; + } }