@Override public void dispose() { super.dispose(); parentControl = null; } }
@Override public void dispose() { IEditorInput input= getEditorInput(); if (input instanceof IPropertyChangeNotifier) ((IPropertyChangeNotifier)input).removePropertyChangeListener(this); super.dispose(); }
public void dispose() { IEditorInput input= getEditorInput(); if (input instanceof IPropertyChangeNotifier) ((IPropertyChangeNotifier)input).removePropertyChangeListener(this); super.dispose(); }
/** * Dispose of the editor. */ public void dispose() { super.dispose(); Iterator iterator = getSections().iterator(); while (iterator.hasNext()) { ServerEditorSection section = (ServerEditorSection) iterator.next(); section.dispose(); } if (toolkit != null) { toolkit.dispose(); toolkit = null; } commandManager = null; sectionToInsertionId = null; sections = null; }
/** * The <code>MultiPageEditorPart</code> implementation of this * <code>IWorkbenchPart</code> method disposes all nested editors. * Subclasses may extend. */ @Override public void dispose() { deactivateSite(true, false); pageChangeListeners.clear(); for (int i = 0; i < nestedEditors.size(); ++i) { IEditorPart editor = (IEditorPart) nestedEditors.get(i); disposePart(editor); } nestedEditors.clear(); if (pageContainerSite instanceof IDisposable) { ((IDisposable) pageContainerSite).dispose(); pageContainerSite = null; } for (int i = 0; i < pageSites.size(); i++) { IServiceLocator sl = (IServiceLocator) pageSites.get(i); if (sl instanceof IDisposable) { ((IDisposable) sl).dispose(); } } pageSites.clear(); super.dispose(); }
@Override public void dispose() { if (fLaunchesListener != null) { DebugPlugin.getDefault().getLaunchManager().removeLaunchListener(fLaunchesListener); } super.dispose(); }
/** * Release the added listener. * * @since 3.2 */ @Override public void dispose() { getSite().getPage().removePartListener(propagationListener); super.dispose(); }
/** * The <code>WorkbenchPart</code> implementation of this * <code>IWorkbenchPart</code> method disposes the title image * loaded by <code>setInitializationData</code>. Subclasses may extend. */ @Override public void dispose() { super.dispose(); if (busyCursor != null) { busyCursor.dispose(); } if (handCursor != null) { handCursor.dispose(); } if (this.colorListener != null) { JFacePreferences.getPreferenceStore().removePropertyChangeListener( this.colorListener); } }
@Override public void dispose() { if (inputFileListener != null) { PDEPlugin.getWorkspace().removeResourceChangeListener(inputFileListener); inputFileListener = null; } toolkit.dispose(); PDEPlugin.getDefault().getLabelProvider().disconnect(this); super.dispose(); }
/** * {@inheritDoc} */ @Override public void dispose() { InspectIT.getDefault().getCmrRepositoryManager().removeCmrRepositoryChangeListener(this); InspectIT.getDefault().getInspectITStorageManager().removeStorageChangeListener(this); // stop the timer if it is active stopUpdateTimer(); // dispose the local resource manager resourceManager.dispose(); super.dispose(); // dispose the preference panel if (null != preferencePanel) { preferencePanel.dispose(); } if (null != subView) { subView.dispose(); } } }
fLinearUndoViolationApprover= null; super.dispose();