};
public Image getImage(Object element) {
if (resourceList.contains(element)) {
SVNStatusKind statusKind = ResourceWithStatusUtil.getStatusKind((IResource)element);
Image image = null;
if (element instanceof IContainer && (statusKind == null || !statusKind.equals(SVNStatusKind.DELETED))) {
image = workbenchLabelProvider.getImage(element);
image = compareConfiguration.getImage(image, Differencer.NO_CHANGE);
} else {
if (statusKind != null) {
if (statusKind.hasTreeConflict()) {
image = workbenchLabelProvider.getImage(element);
image = resourceSelectionTreeDecorator.getImage(image, ResourceSelectionTreeDecorator.TREE_CONFLICT);
}
else if (statusKind != null && statusKind.equals(SVNStatusKind.CONFLICTED)) {
image = workbenchLabelProvider.getImage(element);
image = resourceSelectionTreeDecorator.getImage(image, ResourceSelectionTreeDecorator.TEXT_CONFLICTED);
}
}
if (image == null) image = syncLabelProvider.getImage(element);
if (element instanceof IContainer) return image;
if (unversionedResourceList.contains(element)) {
image = resourceSelectionTreeDecorator.getImage(image, ResourceSelectionTreeDecorator.UNVERSIONED);
}
if (statusKind != null && statusKind.equals(SVNStatusKind.MISSING)) {
image = resourceSelectionTreeDecorator.getImage(image, ResourceSelectionTreeDecorator.MISSING);
}
}
String propertyStatus = ResourceWithStatusUtil.getPropertyStatus((IResource)element);
if (propertyStatus != null && propertyStatus.length() > 0) {