X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fstructure%2FStructureCommandsI.java;h=fc8b8283c4ff42f2b78dd0c38919e8334a65e5c3;hb=832101caf0bd7b01d0103879875a724078ea118f;hp=b1e1486f4e6d3b9af9842454041f68b91f34cc66;hpb=6f9554d86c10332d0d90cdb86ccf2ec94f7b4ebe;p=jalview.git diff --git a/src/jalview/structure/StructureCommandsI.java b/src/jalview/structure/StructureCommandsI.java index b1e1486..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; @@ -193,16 +194,16 @@ 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' + * 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 * @@ -254,4 +255,9 @@ public interface StructureCommandsI StructureCommandI getResidueAttributes(String attName); List centerViewOn(List residues); + + default List showHetatms(List toShow) + { + return Collections.EMPTY_LIST; + } }