public void onClick(final ClickEvent event)
{
if (jSNIFacade.confirm("Are you sure you want to delete '" + criterion.getCriteria() + "'"))
{
accessGroupsPanel.remove(membershipCriteriaComposite);
Session.getInstance().getEventBus().notifyObservers(new MembershipCriteriaRemovedEvent(criterion));
items.remove(criterion);
}
}
});
}