return dirty;
if (resource.getType() == IResource.FOLDER) { try { LocalResourceStatus status = svnResource.getStatus();  if (status.isDeleted()) { return deleted; } else { return dirty; } } catch (SVNException e) { SVNUIPlugin.log(e.getStatus()); return null; } } return dirty;
	public ImageDescriptor getOverlay(IResource resource, boolean isDirty, SVNTeamProvider provider) {	    ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);        		// show newResource icon		if (showNewResources) {			try {				if (svnResource.exists()) {					boolean isNewResource = false;                    if (!svnResource.isManaged()) {						isNewResource = true;					}					if (isNewResource) {						return newResource;					}				}			} catch (SVNException e) {				SVNUIPlugin.log(e.getStatus());				return null;			}		}		        if (showExternal) {            try {                if (SVNStatusKind.EXTERNAL.equals(svnResource.getStatus().getTextStatus())) {                    return external;                }            } catch (SVNException e) {                SVNUIPlugin.log(e.getStatus());            }        }        		// show dirty icon		if(showDirty && isDirty) {			 return dirty;		}        // show added icon		if (showAdded) {			try {                LocalResourceStatus status = svnResource.getStatus();                                if (status.isTextConflicted()) {                	return conflicted;                }           		if (status.isTextMerged()) {           			return merged;           		}                if (status.isAdded()) {					return added;                }                if (status.isLocked()) {                    return locked;                }                if (status.isReadOnly()) {                    return needsLock;                }			} catch (SVNException e) {				SVNUIPlugin.log(e.getStatus());				return null;			}		}		// Simplest is that is has remote.		if (showHasRemote) {            try {                                if (svnResource.hasRemote())                    return checkedIn;            } catch (SVNException e) {                SVNUIPlugin.log(e.getStatus());            }                       		}		//nothing matched		return null;	}