/** * Sets the key used to compute the internationalized name of the action. The * translated name is then usually used as label for the action (button label, * menu label, ...). * * @param name * the name to set. */ public void setName(String name) { actionDescriptor.setName(name); }
/** * Constructs a new <code>AbstractFrontendAction</code> instance. */ public AbstractFrontendAction() { actionDescriptor = new DefaultIconDescriptor(); }
/** * {@inheritDoc} */ @Override public BasicPropertyDescriptor clone() { return (BasicPropertyDescriptor) super.clone(); }
/** * Sets the iconImageURL. * * @param iconImageURL * the iconImageURL to set. */ public void setIconImageURL(String iconImageURL) { descriptor.setIconImageURL(iconImageURL); }
/** * {@inheritDoc} */ @Override public String getDescription() { return controllerDescriptor.getDescription(); }
/** * {@inheritDoc} */ @Override public String getName() { return controllerDescriptor.getName(); }
/** * Sets the key used to compute the internationalized description of the * action. The translated description is then usually used as toolTip for the * action. * * @param description * the description to set. */ public void setDescription(String description) { actionDescriptor.setDescription(description); }
/** * {@inheritDoc} */ @Override public String getI18nName(ITranslationProvider translationProvider, Locale locale) { return descriptor.getI18nName(translationProvider, locale); }
/** * {@inheritDoc} */ public String getI18nDescription(ITranslationProvider translationProvider, Locale locale) { return controllerDescriptor.getI18nDescription(translationProvider, locale); }
/** * Sets the iconImageURL. * * @param iconImageURL * the iconImageURL to set. */ public void setIconImageURL(String iconImageURL) { actionDescriptor.setIconImageURL(iconImageURL); }
/** * {@inheritDoc} */ public String getDescription() { return controllerDescriptor.getDescription(); }
/** * {@inheritDoc} */ @Override public String getName() { return descriptor.getName(); }
/** * Sets the description. * * @param description * the description to set. */ public void setDescription(String description) { controllerDescriptor.setDescription(description); }
/** * {@inheritDoc} */ public String getI18nName(ITranslationProvider translationProvider, Locale locale) { return controllerDescriptor.getI18nName(translationProvider, locale); }
/** * {@inheritDoc} */ @Override public String getI18nDescription(ITranslationProvider translationProvider, Locale locale) { if (i18nDescription != null) { return i18nDescription; } return controllerDescriptor.getI18nDescription(translationProvider, locale); }
/** * Sets the name. * * @param name * the name to set. */ public void setName(String name) { descriptor.setName(name); }
/** * Sets the iconImageURL. * * @param iconImageURL * the iconImageURL to set. */ public void setIconImageURL(String iconImageURL) { descriptor.setIconImageURL(iconImageURL); }
/** * {@inheritDoc} */ @Override public String getDescription() { return actionDescriptor.getDescription(); }
/** * {@inheritDoc} */ public String getName() { return controllerDescriptor.getName(); }
/** * Sets the description. * * @param description * the description to set. */ public void setDescription(String description) { descriptor.setDescription(description); }