* @return the action to use for the menu and the toolbar or <code>null</code>
* if the plugin does not provide this feature.
*/
protected ActionMenu doGetButtonAction() {
if (mPlugin != null) {
ActionMenu actMenu = mPlugin.getButtonAction();
if (actMenu != null) {
Action action = actMenu.getAction();
if (action != null && !(action instanceof ContextMenuAction)) {
if (action.getValue(Action.SMALL_ICON) == null) {
mLog.warning("Small icon missing for button action "
+ action.getValue(Action.NAME));
action.putValue(Action.SMALL_ICON, TVBrowserIcons.warning(TVBrowserIcons.SIZE_SMALL));