JAL-3187 convenience method on SplitContainerI to retrieve a complement’s alignFrame
[jalview.git] / src / jalview / api / SplitContainerI.java
index 46f5f44..2a09475 100644 (file)
@@ -55,4 +55,14 @@ public interface SplitContainerI
    */
   String getComplementTitle(Object af);
 
+  /**
+   * get the 'other' alignFrame in the SplitFrame
+   * 
+   * @param alignFrame
+   * @return the complement alignFrame - or null if alignFrame wasn't held by this
+   *         frame
+   */
+  AlignViewControllerGuiI getComplementAlignFrame(
+          AlignViewControllerGuiI alignFrame);
+
 }