@Override
public void popupYesNoCancel(RComponent sourceComponent, String title, String iconImageUrl, String message,
IAction yesAction, IAction noAction, IAction cancelAction, Map<String, Object> context) {
RemoteYesNoCancelCommand messageCommand = new RemoteYesNoCancelCommand();
messageCommand.setTitle(title);
messageCommand.setMessage(message);
messageCommand.setTitleIcon(getIconFactory().getQuestionIcon(getIconFactory().getTinyIconSize()));
if (iconImageUrl != null) {
messageCommand.setMessageIcon(getIconFactory().getIcon(iconImageUrl, getIconFactory().getLargeIconSize()));
} else {
messageCommand.setMessageIcon(getIconFactory().getQuestionIcon(getIconFactory().getLargeIconSize()));
}
if (yesAction != null) {
messageCommand.setYesAction(createRAction(yesAction, context));
}
if (noAction != null) {
messageCommand.setNoAction(createRAction(noAction, context));
}
if (cancelAction != null) {
messageCommand.setCancelAction(createRAction(cancelAction, context));
}
registerCommand(messageCommand);
}