/** Unregisters all the listeners registered by this SoughtGraphPlugin. */ protected void unregisterListeners() { SeekConnection conn = (SeekConnection) getConn(); soughtGraph.removeSeekSelectionListener(this); conn.getSeekListenerManager().removeSeekListener(this); // Just in case. getConn().getListenerManager().removeConnectionListener(this); }