IDEMPIERE-1918 Tree node : add a method to change the description

This commit is contained in:
Nicolas Micoud 2014-07-11 20:04:40 -05:00
parent e19be23bc5
commit 65830799d3
1 changed files with 12 additions and 1 deletions

View File

@ -215,7 +215,18 @@ public class MTreeNode extends DefaultMutableTreeNode
return m_description;
} // getDescription
/**
* Set Description
* @param name name
*/
public void setDescription (String description)
{
if (description == null)
m_description = "";
else
m_description = description;
} // setDescription
/**************************************************************************
* Set Summary (allow children)
* @param isSummary summary node