X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FSplitContainerI.java;h=d68aa3605300618a16375fb981efebdb4337be85;hb=6635c2d0807d44d4d2f7464c920fc65b50d976b9;hp=46f5f441dc104a211946c5c7255cb507d78d7bfe;hpb=db4eacee27b836db4126dca551887bfc6652d72a;p=jalview.git diff --git a/src/jalview/api/SplitContainerI.java b/src/jalview/api/SplitContainerI.java index 46f5f44..d68aa36 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; /** @@ -55,4 +56,35 @@ 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); + }