Example #1
0
  public void release() {
    for (EditorView<T> view : views) {
      view.release();
      view.removePropertyChangeListener(this);
    }

    views.clear();

    inputTabs.removeChangeListener(inputTabsChangeListener);
    inputTabs.removeAll();

    inspectorPanel.release();
    document.release();
  }
 /** {@inheritDoc} */
 @Override
 protected void doDestroy(final JTabbedPane component) {
   component.removeChangeListener(listener);
   listener = null;
 }