X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FSplitContainerI.java;h=6b037f5c08bb8a72d19abf20fbf8db59d5ff2940;hb=55ff94948df7f76bb7fbd4a39a963160b9efa3a2;hp=e890aea8b279a436baaa88e9c6d50130a11a3b4a;hpb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;p=jalview.git diff --git a/src/jalview/api/SplitContainerI.java b/src/jalview/api/SplitContainerI.java index e890aea..6b037f5 100644 --- a/src/jalview/api/SplitContainerI.java +++ b/src/jalview/api/SplitContainerI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -20,6 +20,7 @@ */ package jalview.api; +import jalview.controller.FeatureSettingsControllerGuiI; import jalview.datamodel.AlignmentI; /** @@ -55,4 +56,41 @@ 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); + + /** + * add the given UI to the splitframe's feature settings UI holder + * + * @param featureSettings + * @return + */ + void addFeatureSettingsUI( + FeatureSettingsControllerGuiI featureSettings); + + /** + * Request to close all feature settings originating from a particular panel. + * + * @param featureSettings + * @param closeContainingFrame + * - if false then the tab containing the feature + * settings will be 'reset' ready for a new + * feature settings + */ + void closeFeatureSettings(FeatureSettingsControllerI featureSettings, + boolean closeContainingFrame); + + /** + * + * @return true if a feature settings panel is currently open + */ + boolean isFeatureSettingsOpen(); + }