@Override public void dispose() { controller.removeListener(this); for (IView view : views) { view.dispose(); } }
@Override public void reset() { folder.setRedraw(false); for (final CTabItem tab : folder.getItems()) { tab.dispose(); } // TODO: Is this enough cleanup? for (final IView v : views) { v.dispose(); } names.clear(); views.clear(); folder.setRedraw(true); folder.redraw(); }