X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FSplitContainerI.java;h=f6660f44dbdf4580e25894b1a3b56e6c53ee0729;hb=53f3ef526cdbea018a1cda6742d28e03cca4ed20;hp=2a094752ba19923a68d27e2fc498e5582d130975;hpb=ef06b969ecfe1544324c7058d607376f18453478;p=jalview.git diff --git a/src/jalview/api/SplitContainerI.java b/src/jalview/api/SplitContainerI.java index 2a09475..f6660f4 100644 --- a/src/jalview/api/SplitContainerI.java +++ b/src/jalview/api/SplitContainerI.java @@ -20,6 +20,7 @@ */ package jalview.api; +import jalview.controller.FeatureSettingsControllerGuiI; import jalview.datamodel.AlignmentI; /** @@ -59,10 +60,35 @@ public interface SplitContainerI * get the 'other' alignFrame in the SplitFrame * * @param alignFrame - * @return the complement alignFrame - or null if alignFrame wasn't held by this - * frame + * @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(); + }