ImageDescriptor descriptor = SVNUIPlugin.getPlugin().getImageDescriptor(id); return descriptor==null ? null : descriptor.createImage();
return SVNUIPlugin.getImage(id);
        public Image getImage(Object element) {            String id = null;            if(element instanceof LogEntryChangePath) {              LogEntryChangePath changePath = (LogEntryChangePath)element;              switch(changePath.getAction()) {                case 'A':  id = ISVNUIConstants.IMG_FILEADD_PENDING;  break;                case 'D':  id = ISVNUIConstants.IMG_FILEDELETE_PENDING;  break;                // case 'M':                  default:   id = ISVNUIConstants.IMG_FILEMODIFIED_PENDING;  break;              }            } else if(element instanceof HistoryFolder) {              HistoryFolder folder = (HistoryFolder) element;              if(folder.getChildren().length==0) {                switch(folder.getAction()) {                  case 'A':  id = ISVNUIConstants.IMG_FILEADD_PENDING;  break;                  case 'D':  id = ISVNUIConstants.IMG_FILEDELETE_PENDING;  break;                  // case 'M':                  default:   id = ISVNUIConstants.IMG_FILEMODIFIED_PENDING;  break;                }              } else {                  switch(folder.getAction()) {                    case 'A':  id = ISVNUIConstants.IMG_FOLDERADD_PENDING;  break;                    case 'D':  id = ISVNUIConstants.IMG_FOLDERDELETE_PENDING;  break;                    case 'M':  id = ISVNUIConstants.IMG_FOLDERMODIFIED_PENDING;  break;                    default:   id = ISVNUIConstants.IMG_FOLDER;  break;                  }              }            }            if(id==null) return null;            ImageDescriptor descriptor = SVNUIPlugin.getPlugin().getImageDescriptor(id);            return descriptor==null ? null : descriptor.createImage();        }