From: Jim Procter Date: Thu, 5 Apr 2018 13:24:08 +0000 (+0100) Subject: JAL-2944 get viewer’s title via toString() X-Git-Tag: Release_2_10_4~32^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=591a5a4f3a552b103be552f1e942fb0c3a65cfa6;p=jalview.git JAL-2944 get viewer’s title via toString() --- diff --git a/src/jalview/gui/StructureViewerBase.java b/src/jalview/gui/StructureViewerBase.java index 3e06724..3b80ff0 100644 --- a/src/jalview/gui/StructureViewerBase.java +++ b/src/jalview/gui/StructureViewerBase.java @@ -1019,6 +1019,12 @@ public abstract class StructureViewerBase extends GStructureViewer } @Override + public String toString() + { + return getTitle(); + } + + @Override public boolean hasMapping() { if (worker != null && (addingStructures || _started))