private void addReplaceAllCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceInputPage_change_references; boolean defaultValue= fProcessor.isReplace(); fReplaceAllCheckbox= createCheckbox(result, title, defaultValue); fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); fReplaceAllCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); } }); }
private void addReplaceAllCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceInputPage_change_references; boolean defaultValue= fProcessor.isReplace(); fReplaceAllCheckbox= createCheckbox(result, title, defaultValue); fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); fReplaceAllCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); } }); }
private void addReplaceAllCheckbox(Composite result) { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); String title= RefactoringMessages.ExtractInterfaceInputPage_change_references; boolean defaultValue= processor.isReplace(); fReplaceAllCheckbox= createCheckbox(result, title, defaultValue); processor.setReplace(fReplaceAllCheckbox.getSelection()); fReplaceAllCheckbox.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { processor.setReplace(fReplaceAllCheckbox.getSelection()); } }); }