/** * Sets the long description of the action. This will also set the * value of the short description if that value is null. * <p> * This is a convenience method for <code>putValue</code> with the * <code>Action.LONG_DESCRIPTION</code> key. * * @param desc the long description; can be <code>null</code> * @see Action#LONG_DESCRIPTION * @see Action#putValue */ public void setLongDescription(String desc) { putValue(Action.LONG_DESCRIPTION, desc); if (desc != null && getShortDescription() == null) { setShortDescription(desc); } }
/** * Sets the long description of the action. This will also set the * value of the short description if that value is null. * <p> * This is a convenience method for <code>putValue</code> with the * <code>Action.LONG_DESCRIPTION</code> key. * * @param desc the long description; can be <code>null</code> * @see Action#LONG_DESCRIPTION * @see Action#putValue */ public void setLongDescription(String desc) { putValue(Action.LONG_DESCRIPTION, desc); if (desc != null && getShortDescription() == null) { setShortDescription(desc); } }
/** * Sets the long description of the action. This will also set the * value of the short description if that value is null. * <p> * This is a convenience method for <code>putValue</code> with the * <code>Action.LONG_DESCRIPTION</code> key. * * @param desc the long description; can be <code>null</code> * @see Action#LONG_DESCRIPTION * @see Action#putValue */ public void setLongDescription(String desc) { putValue(Action.LONG_DESCRIPTION, desc); if (desc != null && getShortDescription() == null) { setShortDescription(desc); } }
/** * Sets the long description of the action. This will also set the * value of the short description if that value is null. * <p> * This is a convenience method for <code>putValue</code> with the * <code>Action.LONG_DESCRIPTION</code> key. * * @param desc the long description; can be <code>null</code> * @see Action#LONG_DESCRIPTION * @see Action#putValue */ public void setLongDescription(String desc) { putValue(Action.LONG_DESCRIPTION, desc); if (desc != null && getShortDescription() == null) { setShortDescription(desc); } }