/** * Displays the message using a {@code JOptionPane.INFORMATION_MESSAGE}. * <p> * {@inheritDoc} */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { getController(context).popupInfo(getSourceComponent(context), getI18nName(getTranslationProvider(context), getLocale(context)), getIconImageURL(), getMessage(context)); return super.execute(actionHandler, context); } }
/** * Displays an ok cancel dialog * <p> * {@inheritDoc} * * @param actionHandler * the action handler * @param context * the context * @return the boolean */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { getController(context) .popupOkCancel(getSourceComponent(context), getI18nName(getTranslationProvider(context), getLocale(context)), getIconImageURL(), getMessage(context), getOkAction(context), getCancelAction(context), context); return super.execute(actionHandler, context); }
/** * Displays the message using a {@code JOptionPane.YES_NO_OPTION}. * <p> * {@inheritDoc} * * @param actionHandler * the action handler * @param context * the context * @return the boolean */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { getController(context).popupYesNo(getSourceComponent(context), getI18nName(getTranslationProvider(context), getLocale(context)), getIconImageURL(), getMessage(context), getYesAction(context), getNoAction(context), context); return super.execute(actionHandler, context); }
/** * Displays the message using a {@code JOptionPane.YES_NO_CANCEL_OPTION}. * <p> * {@inheritDoc} * * @param actionHandler * the action handler * @param context * the context * @return the boolean */ @Override public boolean execute(IActionHandler actionHandler, Map<String, Object> context) { getController(context).popupYesNoCancel(getSourceComponent(context), getI18nName(getTranslationProvider(context), getLocale(context)), getIconImageURL(), getMessage(context), getYesAction(context), getNoAction(context), getCancelAction(context), context); return super.execute(actionHandler, context); }