bindings.put( SVNDecoratorConfiguration.RESOURCE_LABEL, svnResource.getRepository().getLabel());
	public void decorateTextLabel(IResource resource, IDecoration decoration, boolean isDirty) {		try {			Map bindings = new HashMap(6);			// if the resource does not have a location then return. This can happen if the resource			// has been deleted after we where asked to decorate it.			if (resource.getLocation() == null) {				return;			}			// get the format			IDecoratorComponent[][] format;			int type = resource.getType();			if (type == IResource.FOLDER) {				format = folderDecoratorFormat;			} else if (type == IResource.PROJECT) {				format = projectDecoratorFormat;			} else {				format = fileDecoratorFormat;			}                        // fill the bindings			if (isDirty) {				bindings.put(SVNDecoratorConfiguration.DIRTY_FLAG, dirtyFlag);			}			ISVNLocalResource svnResource =				SVNWorkspaceRoot.getSVNResourceFor(resource);			LocalResourceStatus status = svnResource.getStatus();			if (status.getUrl() != null) {				bindings.put(					SVNDecoratorConfiguration.RESOURCE_URL,					status.getUrl().toString());				                // short url is the path relative to root url of repository                SVNUrl repositoryRoot = svnResource.getRepository().getRepositoryRoot();                if (repositoryRoot != null) {                    String shortUrl = status.getUrl().toString().substring(                            repositoryRoot.toString().length()+1);                        bindings.put(                            SVNDecoratorConfiguration.RESOURCE_URL_SHORT,                             shortUrl);                }			}						if (status.isAdded()) {				bindings.put(SVNDecoratorConfiguration.ADDED_FLAG, addedFlag);			} else if (SVNStatusKind.EXTERNAL.equals(status.getTextStatus())) {                bindings.put(SVNDecoratorConfiguration.EXTERNAL_FLAG, externalFlag);            } else {				if ((status.getTextStatus() != SVNStatusKind.UNVERSIONED) &&					(status.getTextStatus() != SVNStatusKind.ADDED) &&				    (status.getRevision() != null) &&                    (status.getRevision().getNumber() != SVNRevision.SVN_INVALID_REVNUM)) {										if (status.getLastChangedRevision() != null) {						bindings.put(						   SVNDecoratorConfiguration.RESOURCE_REVISION,						   status.getLastChangedRevision().toString());					}										if (status.getLastCommitAuthor() != null) {					    bindings.put(						   SVNDecoratorConfiguration.RESOURCE_AUTHOR,						   status.getLastCommitAuthor());					}                }								if (status.getLastChangedDate() != null) {                    bindings.put(					   SVNDecoratorConfiguration.RESOURCE_DATE,						dateFormat.format(status.getLastChangedDate()));				}			}			SVNDecoratorConfiguration.decorate(decoration, format, bindings);					} catch (SVNException e) {			SVNUIPlugin.log(e.getStatus());		}	}