if (resources[i].exists() || resources[i].isPhantom()) { ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]); try { svnResource.refreshStatus(); } catch (SVNException e) { e.printStackTrace(); } }
if (resources[i].getType()==IResource.FILE) { foldersToRefresh.add(resources[i].getParent()); } else { foldersToRefresh.add(resources[i]); } } for (Iterator it = foldersToRefresh.iterator(); it.hasNext();) { IResource folder = (IResource) it.next(); try { SVNProviderPlugin.getPlugin().getStatusCacheManager().refreshStatus(folder, IResource.DEPTH_ZERO); } catch (SVNException e) { e.printStackTrace(); }
    private void refreshStatus(IResource[] resources) {        for (int i = 0; i < resources.length;i++) {        	if (resources[i].exists() || resources[i].isPhantom())        	{        		ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resources[i]);        		try {        			svnResource.refreshStatus();        		} catch (SVNException e) {        			e.printStackTrace();        		}        	}        }    }