JAL-3187 view controller UI api method to show feature settings UI

[jalview.git] / src / jalview / api / AlignViewControllerGuiI.java
index 4896b35..56414d8 100644 (file)
@@ -43,9 +43,9 @@ public interface AlignViewControllerGuiI
   void addHistoryItem(CommandI command);
 
   void setShowSeqFeatures(boolean show);
-  
+
   void setMenusForViewport();
-  
+
   void changeColour(ColourSchemeI cs);
 
   /**
@@ -62,4 +62,12 @@ public interface AlignViewControllerGuiI
    * @return
    */
   FeatureSettingsControllerI getFeatureSettingsUI();
+
+  /**
+   * displays the Feature Settigns control panel for the alignment view - if one
+   * exists it is closed and re-opened.
+   * 
+   * @return the current feature settings controller
+   */
+  FeatureSettingsControllerI showFeatureSettingsUI();
 }