if (((Button)event.widget).getSelection()) fRefactoring.setReplaceAllReferences(true);
fRefactoring.setReplaceAllReferences(true);
	public void createControl(Composite parent) {		initializeDialogUnits(parent);		fRefactoring= (InlineConstantRefactoring)getRefactoring();				Composite result= new Composite(parent, SWT.NONE);		setControl(result);		GridLayout layout= new GridLayout();		result.setLayout(layout);		GridData gd= null;		fInlineMode= new Group(result, SWT.NONE);		fInlineMode.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		fInlineMode.setLayout(new GridLayout());		fInlineMode.setText("Inline");				Button radio= new Button(fInlineMode, SWT.RADIO);		radio.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		radio.setText("All references");		radio.setSelection(fRefactoring.getReplaceAllReferences());		radio.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent event) {				fRemove.setEnabled(true);				if (((Button)event.widget).getSelection())					fRefactoring.setReplaceAllReferences(true);			}		});		fRemove= new Button(fInlineMode, SWT.CHECK);		gd= new GridData(GridData.FILL_HORIZONTAL);		gd.horizontalIndent= convertWidthInCharsToPixels(3);		fRemove.setLayoutData(gd);		fRemove.setText("Delete constant declaration");		fRemove.setEnabled(radio.getSelection());		fRemove.setSelection(fRefactoring.getRemoveDeclaration());		fRemove.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRefactoring.setRemoveDeclaration(((Button)e.widget).getSelection());			}		});				radio= new Button(fInlineMode, SWT.RADIO);		radio.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		radio.setText("Only the selected reference");		radio.setSelection(!fRefactoring.getReplaceAllReferences());		radio.setEnabled(!fRefactoring.isDeclarationSelected());		radio.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent event) {				fRemove.setSelection(false);				fRemove.setEnabled(false);				if (((Button)event.widget).getSelection())					fRefactoring.setReplaceAllReferences(true);			}		});			}