ISVNLocalFile resource = new LocalFile(file); try { if (!resource.isManaged()) return false;
ISVNLocalFile resource = new LocalFile(file); try { if (!resource.isManaged()) { return false; }
	public boolean deleteFile(IResourceTree tree, IFile file, int updateFlags,			IProgressMonitor monitor) {		ISVNLocalFile resource = new LocalFile(file);		try {			if (!resource.isManaged())				return false;			monitor.beginTask(null, 1000);			monitor.setTaskName("Working..");			resource.delete();			tree.deletedFile(file);		} catch (SVNException e) {			tree.failed(new org.eclipse.core.runtime.Status(					org.eclipse.core.runtime.Status.ERROR, "SUBCLIPSE", 0,					"Error removing file", e));			e.printStackTrace();			return true; // we attempted		} finally {			monitor.done();		}		return true;	}