/** * Hides the information control and stops the information control closer. */ protected void hideInformationControl() { if (fInformationControl != null) { storeInformationControlBounds(); fInformationControl.setVisible(false); if (fInformationControlCloser != null) fInformationControlCloser.stop(); } if (canClearDataOnHide()) { fSubjectArea= null; fInformation= null; // allow garbage collection of potentially large object } }
/** * Hides the information control and stops the information control closer. */ protected void hideInformationControl() { if (fInformationControl != null) { storeInformationControlBounds(); fInformationControl.setVisible(false); if (fInformationControlCloser != null) fInformationControlCloser.stop(); } if (canClearDataOnHide()) { fSubjectArea= null; fInformation= null; // allow garbage collection of potentially large object } }
/** * Handles the disposal of the information control. By default, the information * control closer is stopped. */ protected void handleInformationControlDisposed() { storeInformationControlBounds(); if (fInformationControl instanceof IInformationControlExtension5) fSizeConstraints= null; fInformationControl= null; if (fInformationControlCloser != null) { fInformationControlCloser.setInformationControl(null); //XXX: null is against the spec fInformationControlCloser.stop(); } }
/** * Handles the disposal of the information control. By default, the information * control closer is stopped. */ protected void handleInformationControlDisposed() { storeInformationControlBounds(); if (fInformationControl instanceof IInformationControlExtension5) fSizeConstraints= null; fInformationControl= null; if (fInformationControlCloser != null) { fInformationControlCloser.setInformationControl(null); //XXX: null is against the spec fInformationControlCloser.stop(); } }