JAL-3187 better semantics for feature settings closed event handler
authorJim Procter <jprocter@issues.jalview.org>
Mon, 17 Feb 2020 12:28:40 +0000 (12:28 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 17 Feb 2020 12:28:40 +0000 (12:28 +0000)
src/jalview/controller/FeatureSettingsControllerGuiI.java
src/jalview/gui/FeatureSettings.java
src/jalview/gui/SplitFrame.java

index 758df93..237e944 100644 (file)
@@ -27,6 +27,6 @@ public interface FeatureSettingsControllerGuiI
 
   AlignViewControllerGuiI getAlignframe();
 
-  void closeFeatureSettings();
+  void featureSettings_isClosed();
 
 }
index 4dca630..961ff14 100644 (file)
@@ -406,7 +406,7 @@ public class FeatureSettings extends JPanel
                 public void internalFrameClosed(
                         javax.swing.event.InternalFrameEvent evt)
                 {
-                  closeFeatureSettings();
+                  featureSettings_isClosed();
                 };
               });
       frame.setLayer(JLayeredPane.PALETTE_LAYER);
@@ -423,7 +423,7 @@ public class FeatureSettings extends JPanel
   }
 
   @Override
-  public void closeFeatureSettings()
+  public void featureSettings_isClosed()
   {
     fr.removePropertyChangeListener(change);
     change = null;
index 6d5bd34..513303f 100644 (file)
@@ -953,7 +953,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI
                     if (fsettings != null)
                     {
                       featureSettingsPanels.removeTabAt(tab);
-                      fsettings.closeFeatureSettings();
+                      fsettings.featureSettings_isClosed();
                     }
                     else
                     {