code: public void updateAction(Action action)
  	{
  		action.putValue(Action.NAME, myMessageProvider.getMessage(getLabelMessage(), getLocale()));
  		action.putValue(Action.SHORT_DESCRIPTION, myMessageProvider.getMessage(getLabelDescription(), getLocale()));
  		if (IS_NOT_EMPTY.test(getKeyboardShortcut()))
  		{
  			action.putValue(Action.ACCELERATOR_KEY, KeyboardRepresentationTable.getKeyStroke(getKeyboardShortcut()));
  		}
  		else
  		{
  			action.putValue(Action.ACCELERATOR_KEY, null);
  		}
  	}
docs: Update a Swing {@link Action} with data from this instance.
  
  @param action
  the action to update.