/** * This method is used to notify the LDIF Editor that the Outline Page has been closed. */ public void outlinePageClosed() { projectionSupport.dispose(); outlinePage = null; }
@Override public void dispose() { ((ProjectionViewer) getSourceViewer()).removeProjectionListener(this); if (fProjectionSupport != null) { fProjectionSupport.dispose(); fProjectionSupport = null; } fColorManager.dispose(); if (fConfiguration != null) fConfiguration.dispose(); super.dispose(); }
@Override public void dispose() { callback.beforeDispose(this); actioncontributor.editorDisposed(this); super.dispose(); if (projectionSupport != null) { projectionSupport.dispose(); } if (outlinePage != null) { outlinePage = null; } uninstallFoldingSupport(); uninstallHighlightingHelper(); uninstallSelectionChangedListener(); }
@Override public void dispose() { if (fEditorSelectionChangedListener != null) { fEditorSelectionChangedListener.uninstall(getSelectionProvider()); fEditorSelectionChangedListener = null; } ((ProjectionViewer) getViewer()).removeProjectionListener(this); if (fProjectionSupport != null) { fProjectionSupport.dispose(); fProjectionSupport = null; } uninstallOccurrencesFinder(); if (fActivationListener != null) { Shell shell = getEditorSite().getShell(); if (shell != null && !shell.isDisposed()) { shell.removeShellListener(fActivationListener); } fActivationListener = null; } AntModelCore.getDefault().removeAntModelListener(fAntModelListener); fAntModel = null; super.dispose(); }
fProjectionSupport.dispose(); fProjectionSupport= null;
fProjectionSupport.dispose(); fProjectionSupport= null;
fProjectionSupport.dispose(); fProjectionSupport= null;