}
} else if (resolve instanceof IProcess) {
IProcess proc = (IProcess) element;
return proc.getInfo(new NullProgressMonitor()).getTitle();
} else if (resolve instanceof ISearch) {
ISearch search = (ISearch) element;
return search.getInfo(new NullProgressMonitor()).getTitle();
} else if (resolve instanceof IResolveFolder) {
IResolveFolder folder = (IResolveFolder) element;
return folder.getID().toString();
} else {
return resolve.getID().toString();