fRefactoring= ExtractInterfaceRefactoring.create(control, JavaPreferencesSettings.getCodeGenerationSettings());
fRefactoring= ExtractInterfaceRefactoring.create(control, JavaPreferencesSettings.getCodeGenerationSettings(fProject.getProject()));
	protected void setUp() throws Exception {		super.setUp();		fProject= new SWTTestProject();		IType control= fProject.getProject().findType("org.eclipse.swt.widgets.Control");		fRefactoring= ExtractInterfaceRefactoring.create(control, JavaPreferencesSettings.getCodeGenerationSettings());		IMethod[] methods= control.getMethods();		List extractedMembers= new ArrayList();		for (int i= 0; i < methods.length; i++) {			IMethod method= methods[i];			int flags= method.getFlags();			if (Flags.isPublic(flags) && !Flags.isStatic(flags) && !method.isConstructor()) {				extractedMembers.add(method);			}		}		fRefactoring.setNewInterfaceName("IControl");		fRefactoring.setExtractedMembers((IMember[])extractedMembers.toArray(new IMember[extractedMembers.size()]));		fRefactoring.setReplaceOccurrences(true);	}