Button removePrivateFields= new Button(composite, SWT.CHECK); removePrivateFields.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedField_description); removePrivateFields.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false)); removePrivateFields.setSelection(fRemoveUnusedPrivateFields); removePrivateFields.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { fRemoveUnusedPrivateFields= ((Button)e.getSource()).getSelection(); } });  Button removeLocals= new Button(composite, SWT.CHECK); removeLocals.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedVariable_description); removeLocals.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false)); removeLocals.setSelection(fRemoveUnusedLocalVariables); removeLocals.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { fRemoveUnusedLocalVariables= ((Button)e.getSource()).getSelection(); } });
	public Control createConfigurationControl(Composite parent) {		Composite composite= new Composite(parent, SWT.NONE);		composite.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, true));		composite.setLayout(new GridLayout(1, true));				Button removeUnusedImport= new Button(composite, SWT.CHECK);		removeUnusedImport.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedImport_description);		removeUnusedImport.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removeUnusedImport.setSelection(fRemoveUnusedImports);		removeUnusedImport.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedImports= ((Button)e.getSource()).getSelection();			}		});				Button removePrivateMethods= new Button(composite, SWT.CHECK);		removePrivateMethods.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedMethod_description);		removePrivateMethods.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removePrivateMethods.setSelection(fRemoveUnusedPrivateMethods);		removePrivateMethods.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedPrivateMethods= ((Button)e.getSource()).getSelection();			}		});				Button removePrivateConstructors= new Button(composite, SWT.CHECK);		removePrivateConstructors.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedConstructor_description);		removePrivateConstructors.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removePrivateConstructors.setSelection(fRemoveUnusedPrivateConstructors);		removePrivateConstructors.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedPrivateConstructors= ((Button)e.getSource()).getSelection();			}		});				Button removePrivateType= new Button(composite, SWT.CHECK);		removePrivateType.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedType_description);		removePrivateType.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removePrivateType.setSelection(fRemoveUnusedPrivateTypes);		removePrivateType.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedPrivateTypes= ((Button)e.getSource()).getSelection();			}		});				Button removePrivateFields= new Button(composite, SWT.CHECK);		removePrivateFields.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedField_description);		removePrivateFields.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removePrivateFields.setSelection(fRemoveUnusedPrivateFields);		removePrivateFields.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedPrivateFields= ((Button)e.getSource()).getSelection();			}		});				Button removeLocals= new Button(composite, SWT.CHECK);		removeLocals.setText(MultiFixMessages.UnusedCodeMultiFix_RemoveUnusedVariable_description);		removeLocals.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false));		removeLocals.setSelection(fRemoveUnusedLocalVariables);		removeLocals.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent e) {				fRemoveUnusedLocalVariables= ((Button)e.getSource()).getSelection();			}		});				return composite;	}