/** * Unregister the breakpoint manager input with this content provider. * * @param input the breakpoint manager input to unregister. * @param proxy the manager proxy */ public void unregisterModelProxy(DefaultBreakpointsViewInput input, BreakpointManagerProxy proxy) { InputData inputData = fInputToData.get(input); if (inputData != null) { inputData.proxyDisposed(proxy); if (fInputToData.isEmpty()) { synchronized(this) { if (fIsBreakpointListener) { fBpManager.removeBreakpointListener(this); fIsBreakpointListener = false; } } } } }
public void stopBreakpointListening() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); }
@Override public void dispose() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); super.dispose(); }
@Override public void dispose() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); super.dispose(); }
@Override public void dispose() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); super.dispose(); }
@Override public void dispose() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); super.dispose(); }
/** * @see IPartListener#partClosed(IWorkbenchPart) */ public void partClosed(IWorkbenchPart part) { if (part == getPart()) { getBreakpointManager().removeBreakpointListener(this); part.getSite().getPage().removePartListener(this); } }
/** * Removes this action as a breakpoint and part listener. */ public void dispose() { DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); getView().getViewSite().getPage().removePartListener(this); }
@Override public void dispose() { fWorkingSetManager.removePropertyChangeListener(this); fWorkingSetManager = null; DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); DebugUIPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this); super.dispose(); }
/** * Called at shutdown by the Java debug ui plug-in */ public void shutdown() { DebugPlugin debugPlugin = DebugPlugin.getDefault(); debugPlugin.removeDebugEventListener(this); debugPlugin.getLaunchManager().removeLaunchListener(this); debugPlugin.getBreakpointManager().removeBreakpointListener(this); if (!JDIDebugUIPlugin.getDefault().isShuttingDown()) { //avert restoring the preference store at shutdown JDIDebugUIPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this); } JDIDebugModel.removeJavaBreakpointListener(this); JavaLogicalStructures.removeStructuresListener(this); System.getProperties().remove(JDIDebugUIPlugin.getUniqueIdentifier() + ".debuggerActive"); //$NON-NLS-1$ }
@Override public void dispose(boolean deleteAll) { // Null check for when the editor is shutting down. if (DebugPlugin.getDefault() != null) { if (deleteAll) { try { for (List<String> ids : breakpointToIdMap.values()) { if (ids != null) { for (String id : ids) { debugTarget.getWebkitConnection().getDebugger().removeBreakpoint(id); } } } } catch (IOException exception) { if (!debugTarget.isTerminated()) { SDBGDebugCorePlugin.logError(exception); } } } DebugPlugin.getDefault().getBreakpointManager().removeBreakpointListener(this); } }