From: Jim Procter Date: Thu, 5 Apr 2018 13:23:02 +0000 (+0100) Subject: JAL-2944 expose UI update methods in api X-Git-Tag: Release_2_10_4~32^2~17 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=91d45e7c90753d8061883f351da796c50f467ef5;p=jalview.git JAL-2944 expose UI update methods in api --- diff --git a/src/jalview/api/structures/JalviewStructureDisplayI.java b/src/jalview/api/structures/JalviewStructureDisplayI.java index 69d08fa..c58e3c1 100644 --- a/src/jalview/api/structures/JalviewStructureDisplayI.java +++ b/src/jalview/api/structures/JalviewStructureDisplayI.java @@ -80,4 +80,9 @@ public interface JalviewStructureDisplayI boolean addToExistingViewer(PDBEntry pdbentry, SequenceI[] seq, String[] chains, AlignmentViewPanel apanel, String pdbId); + /** + * refresh GUI after reconfiguring structure(s) and alignment panels + */ + void updateTitleAndMenus(); + } diff --git a/src/jalview/gui/StructureViewerBase.java b/src/jalview/gui/StructureViewerBase.java index e084417..3e06724 100644 --- a/src/jalview/gui/StructureViewerBase.java +++ b/src/jalview/gui/StructureViewerBase.java @@ -976,6 +976,7 @@ public abstract class StructureViewerBase extends GStructureViewer /** * Configures the title and menu items of the viewer panel. */ + @Override public void updateTitleAndMenus() { AAStructureBindingModel binding = getBinding();