ISearchMarkDAO dao = DynamicDAO.getDAO(ISearchMarkDAO.class);
for (SearchConditionEvent event : events) {
ISearchCondition condition = event.getEntity();
ISearchMark searchMark = dao.load(condition);
if (searchMark != null && searchMark.equals(fInput.getMark())) {
JobRunner.runUIUpdater(new UIBackgroundJob(fParent) {
@Override
protected void runInBackground(IProgressMonitor monitor) {
fContentProvider.refreshCache(new IMark[] { fInput.getMark() }, false);
}