@Override
public void onEvent() {
ProcessInstanceFilterDAO processInstanceFilterDAO = ProcessToolContext.Util
.getThreadProcessToolContext().getProcessInstanceFilterDAO();
processInstanceFilterDAO.deleteFilter(filter);
activityMainPane.getBpmSession().getEventBusManager().publish(new FilterChangedEvent());
}
};
VaadinUtility.displayConfirmationWindow(activityMainPane.getApplication(),
activityMainPane.getI18NSource(),
getMessage("activity.filters.delete.popup.title"),