ExtractInterfaceRefactoring refactoring= ExtractInterfaceRefactoring.create(type, JavaPreferencesSettings.getCodeGenerationSettings());
ExtractInterfaceRefactoring refactoring= ExtractInterfaceRefactoring.create(type, JavaPreferencesSettings.getCodeGenerationSettings(type.getJavaProject()));
	private void startRefactoring(IType type) throws JavaModelException {		ExtractInterfaceRefactoring refactoring= ExtractInterfaceRefactoring.create(type, JavaPreferencesSettings.getCodeGenerationSettings());		Assert.isNotNull(refactoring);		// Work around for http://dev.eclipse.org/bugs/show_bug.cgi?id=19104		if (!ActionUtil.isProcessable(getShell(), refactoring.getInputType()))			return;		new RefactoringStarter().activate(refactoring, createWizard(refactoring), getShell(), 			RefactoringMessages.getString("OpenRefactoringWizardAction.refactoring"), true); //$NON-NLS-1$	}