@Override protected RefactoringStatus validateTextField(String text) { final ExtractInterfaceProcessor processor= fProcessor; processor.setTypeName(text); return processor.checkTypeName(text); }
@Override protected RefactoringStatus validateTextField(String text) { final ExtractInterfaceProcessor processor= fProcessor; processor.setTypeName(text); return processor.checkTypeName(text); }
private void initializeRefactoring() throws JavaModelException { fProcessor.setTypeName(getText()); fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); fProcessor.setExtractedMembers(getCheckedMembers()); fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); fProcessor.setComments(fGenerateCommentsCheckbox.getSelection()); fProcessor.setInstanceOf(fInstanceofCheckbox.getSelection()); }
protected RefactoringStatus validateTextField(String text) { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); processor.setTypeName(text); return processor.checkTypeName(text); }
private void initializeRefactoring() throws JavaModelException { fProcessor.setTypeName(getText()); fProcessor.setReplace(fReplaceAllCheckbox.getSelection()); fProcessor.setExtractedMembers(getCheckedMembers()); fProcessor.setAnnotations(fGenerateAnnotationsCheckbox.getSelection()); fProcessor.setComments(fGenerateCommentsCheckbox.getSelection()); fProcessor.setInstanceOf(fInstanceofCheckbox.getSelection()); }
private void initializeRefactoring() throws JavaModelException { final ExtractInterfaceProcessor processor= getExtractInterfaceRefactoring().getExtractInterfaceProcessor(); processor.setTypeName(getText()); processor.setReplace(fReplaceAllCheckbox.getSelection()); processor.setExtractedMembers(getCheckedMembers()); processor.setAbstract(fDeclareAbstractCheckbox.getSelection()); processor.setPublic(fDeclarePublicCheckbox.getSelection()); processor.setComments(fGenerateCommentsCheckbox.getSelection()); processor.setInstanceOf(fInstanceofCheckbox.getSelection()); }