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