コード例 #1
0
  /** 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);
  }
コード例 #2
0
 /** Remove all seeks on disconnection. This just seems to make more sense than leaving them on. */
 public void connectionLost(Connection conn) {
   soughtGraph.removeAllSeeks();
 }