/** * Disconnects any registered listeners. */ private void disconnect() { fViewer.removeTextListener(fTextListener); ensureSelectionListenerRemoved(); }
/** * Disconnects any registered listeners. */ private void disconnect() { fViewer.removeTextListener(fTextListener); ensureSelectionListenerRemoved(); }
/** * Disconnects any registered listeners. */ private void disconnect() { fViewer.removeTextListener(fTextListener); ensureSelectionListenerRemoved(); }
/** * Ends any active run and informs all listeners. If there is none, nothing * happens. * * @param change the change that triggered ending the active run */ private void endIfStarted(Change change) { if (hasRun()) { ensureSelectionListenerRemoved(); if (DEBUG) System.err.println("-End run"); //$NON-NLS-1$ fireRunEnded(fRun, change.getType()); fRun= null; } }
/** * Ends any active run and informs all listeners. If there is none, nothing * happens. * * @param change the change that triggered ending the active run */ private void endIfStarted(Change change) { if (hasRun()) { ensureSelectionListenerRemoved(); if (DEBUG) System.err.println("-End run"); //$NON-NLS-1$ fireRunEnded(fRun, change.getType()); fRun= null; } }
/** * Ends any active run and informs all listeners. If there is none, nothing * happens. * * @param change the change that triggered ending the active run */ private void endIfStarted(Change change) { if (hasRun()) { ensureSelectionListenerRemoved(); if (DEBUG) System.err.println("-End run"); //$NON-NLS-1$ fireRunEnded(fRun, change.getType()); fRun= null; } }