/** Gets called when the seek graph container is made invisible. */ public void pluginUIHidden(PluginUIEvent evt) { soughtGraph.removeAllSeeks(); SeekConnection conn = (SeekConnection) getConn(); conn.getSeekListenerManager().removeSeekListener(this); }
/** Remove all seeks on disconnection. This just seems to make more sense than leaving them on. */ public void connectionLost(Connection conn) { soughtGraph.removeAllSeeks(); }