call to release any explicit event handler references
[jalview.git] / src / jalview / structure / StructureListener.java
index 4ad4405..698fa7e 100644 (file)
@@ -59,4 +59,10 @@ public interface StructureListener
    */
   public java.awt.Color getColour(int atomIndex, int pdbResNum,
           String chain, String pdbId);
+
+  /**
+   * called by structureSelectionManager to instruct implementor to release any direct references it may hold to the given object (typically, these are Jalview alignment panels).
+   * @param svl
+   */
+  public void releaseReferences(Object svl);
 }