file.delete(false, true, pm);
try { file.delete(false, true, pm); } catch (CoreException e) { if (! (context.getExceptionHandler() instanceof IReorgExceptionHandler)) throw e; IReorgExceptionHandler handler= (IReorgExceptionHandler)context.getExceptionHandler(); IStatus[] children= e.getStatus().getChildren(); if (children.length == 1 && children[0].getCode() == IResourceStatus.OUT_OF_SYNC_LOCAL){ if (handler.forceDeletingResourceOutOfSynch(file.getName(), e)){ file.delete(true, true, pm); return; }	else return; } else throw e; }
	protected void doDelete(IProgressMonitor pm) throws CoreException{		IFile file= getFile();		Assert.isNotNull(file);		Assert.isTrue(file.exists());		file.delete(false, true, pm);	}