@Override
public void exec(McEvent e) throws Exception {
// Copy the button date to window for passing through either
// "OK" or "CANCEL"
confirm.setData(e.getClickEvent().getButton().getData());
confirm.closeWindow();
}
};
Button cancel = h.button(cancelTitle, btnListener);
cancel.setData(McEvent.USER_CONFIRM_CANCEL);