X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureCommandsI.java;h=b1e1486f4e6d3b9af9842454041f68b91f34cc66;hb=6f9554d86c10332d0d90cdb86ccf2ec94f7b4ebe;hp=575f256e7e792154850ad5a3161fda4d3692604b;hpb=e282451a1f29b46bdf9cf6489081e68f1deaade8;p=jalview.git diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index 575f256..b1e1486 100644 --- a/src/jalview/structure/StructureCommandsI.java +++ b/src/jalview/structure/StructureCommandsI.java @@ -193,6 +193,15 @@ public interface StructureCommandsI * @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