JAl-3187 JAL-3535 JAL-3534 update open feature settings when a different view is...
[jalview.git] / src / jalview / api / SplitContainerI.java
index 66d8bd1..6b037f5 100644 (file)
@@ -76,10 +76,21 @@ public interface SplitContainerI
           FeatureSettingsControllerGuiI featureSettings);
 
   /**
-   * Request to close all feature settings originating from a particular panel
+   * 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);
+  void closeFeatureSettings(FeatureSettingsControllerI featureSettings,
+          boolean closeContainingFrame);
+
+  /**
+   * 
+   * @return true if a feature settings panel is currently open
+   */
+  boolean isFeatureSettingsOpen();
 
 }