private void doEditButtonPressed(int index) {
private void doEditButtonPressed() {
	private void doEditButtonPressed(int index) {		NameConventionEntry entry= (NameConventionEntry) fNameConventionList.getSelectedElements().get(0);		String title;		String message;		switch (entry.kind) {			case FIELD:				title= PreferencesMessages.getString("NameConventionConfigurationBlock.field.dialog.title"); //$NON-NLS-1$				message= PreferencesMessages.getString("NameConventionConfigurationBlock.field.dialog.message"); //$NON-NLS-1$				break;			case STATIC:				title= PreferencesMessages.getString("NameConventionConfigurationBlock.static.dialog.title"); //$NON-NLS-1$				message= PreferencesMessages.getString("NameConventionConfigurationBlock.static.dialog.message"); //$NON-NLS-1$				break;			case ARGUMENT:				title= PreferencesMessages.getString("NameConventionConfigurationBlock.arg.dialog.title"); //$NON-NLS-1$				message= PreferencesMessages.getString("NameConventionConfigurationBlock.arg.dialog.message"); //$NON-NLS-1$				break;			default:				title= PreferencesMessages.getString("NameConventionConfigurationBlock.local.dialog.title"); //$NON-NLS-1$				message= PreferencesMessages.getString("NameConventionConfigurationBlock.local.dialog.message"); //$NON-NLS-1$		}				NameConventionInputDialog dialog= new NameConventionInputDialog(getShell(), title, message, entry);		if (dialog.open() == TodoTaskInputDialog.OK) {			fNameConventionList.replaceElement(entry, dialog.getResult());		}	}		