IDEMPIERE-1918 Tree node : add a method to change the description
This commit is contained in:
parent
e19be23bc5
commit
65830799d3
|
@ -215,7 +215,18 @@ public class MTreeNode extends DefaultMutableTreeNode
|
||||||
return m_description;
|
return m_description;
|
||||||
} // getDescription
|
} // 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)
|
* Set Summary (allow children)
|
||||||
* @param isSummary summary node
|
* @param isSummary summary node
|
||||||
|
|
Loading…
Reference in New Issue