private void addGenerateAnnotationsCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceWizard_generate_annotations; fGenerateAnnotationsCheckbox= createCheckbox(result, title, false); fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); fGenerateAnnotationsCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); } }); }
private void addGenerateAnnotationsCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceWizard_generate_annotations; fGenerateAnnotationsCheckbox= createCheckbox(result, title, false); fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); fGenerateAnnotationsCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); } }); }
private void addGenerateCommentsCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceWizard_generate_comments; fGenerateCommentsCheckbox= createCheckbox(result, title, false); fProcessor.setComments(fGenerateCommentsCheckbox.getSelection()); fGenerateCommentsCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setComments(fGenerateCommentsCheckbox.getSelection()); } }); }
private void addDeclareAsAbstractCheckbox(Composite result) { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); String[] keys= {RefactoringMessages.ExtractInterfaceWizard_abstract_label}; String title= Messages.format(RefactoringMessages.ExtractInterfaceWizard_12, keys); boolean defaultValue= processor.getAbstract(); fDeclareAbstractCheckbox= createCheckbox(result, title, defaultValue); processor.setAbstract(fDeclareAbstractCheckbox.getSelection()); fDeclareAbstractCheckbox.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { processor.setAbstract(fDeclareAbstractCheckbox.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()); } }); }
private void addGenerateCommentsCheckbox(Composite result) { String title= RefactoringMessages.ExtractInterfaceWizard_generate_comments; fGenerateCommentsCheckbox= createCheckbox(result, title, false); fProcessor.setComments(fGenerateCommentsCheckbox.getSelection()); fGenerateCommentsCheckbox.addSelectionListener(new SelectionAdapter(){ @Override public void widgetSelected(SelectionEvent e) { fProcessor.setComments(fGenerateCommentsCheckbox.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) { 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 addDeclareAsPublicCheckbox(Composite result) { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); String[] keys= {RefactoringMessages.ExtractInterfaceWizard_public_label}; String title= Messages.format(RefactoringMessages.ExtractInterfaceWizard_12, keys); boolean defaultValue= processor.getPublic(); fDeclarePublicCheckbox= createCheckbox(result, title, defaultValue); processor.setPublic(fDeclarePublicCheckbox.getSelection()); fDeclarePublicCheckbox.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { processor.setPublic(fDeclarePublicCheckbox.getSelection()); } }); }
private void addGenerateCommentsCheckbox(Composite result) { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); String title= RefactoringMessages.ExtractInterfaceWizard_generate_comments; fGenerateCommentsCheckbox= createCheckbox(result, title, false); processor.setComments(fGenerateCommentsCheckbox.getSelection()); fGenerateCommentsCheckbox.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { processor.setComments(fGenerateCommentsCheckbox.getSelection()); } }); }