JAL-2944 expose UI update methods in api
authorJim Procter <jprocter@issues.jalview.org>
Thu, 5 Apr 2018 13:23:02 +0000 (14:23 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 5 Apr 2018 13:23:31 +0000 (14:23 +0100)
src/jalview/api/structures/JalviewStructureDisplayI.java
src/jalview/gui/StructureViewerBase.java

index 69d08fa..c58e3c1 100644 (file)
@@ -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();
+
 }
index e084417..3e06724 100644 (file)
@@ -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();