Bug 120545 Misleading constant: CODEASSIST_TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC
I20051213-0010 CODEASSIST_TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC is not restricted to code assist but affects all clients using BinaryMethod.getParamterNames() which is OK. To be correct we should rename the constant to: TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeAssistConfigurationBlockInProgress.java
return Integer.parseInt(idAndRank[1]);
		}
		return LIMIT + 1;
	}
	
	private ModelElement getSelectedItem() {
		return (ModelElement) ((IStructuredSelection) fViewer.getSelection()).getFirstElement();
	}
	
	private int getSelectionIndex() {
		return fViewer.getTable().getSelectionIndex();
	}
	
	/*
	 * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#updateControls()
	 */
	protected void updateControls() {
		super.updateControls();
		
		Collections.sort(fModel, fCategoryComparator);
		fViewer.refresh();
		handleTableSelection();
	}
	
	
	/*
	 * @see org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock#processChanges(org.eclipse.ui.preferences.IWorkbenchPreferenceContainer)
	 */
	protected boolean processChanges(IWorkbenchPreferenceContainer container) {
		for (Iterator it= fModel.iterator(); it.hasNext();) {