Exemple #1
0
 /** Cleans up associated resources when this track is deleted or cleared. */
 protected void cleanup() {
   super.cleanup();
   if (inspector != null) {
     trackerPanel.removePropertyChangeListener("data", this); // $NON-NLS-1$
     inspector.removePanel(getName());
     inspector.removePropertyChangeListener(this);
     if (trackerPanel.getTFrame() != null) {
       trackerPanel.getTFrame().removePropertyChangeListener("tab", this); // $NON-NLS-1$
     }
     if (inspector.isEmpty()) inspector.setVisible(false);
   }
 }