BasicDecorationNode doesn't support children, neither persisted nor
transient. This is the design intention to cut down the memory consumption
for GMF clients. Many times clients create model elements (views) for text
compartment editparts, where the model is the name of the semantic element
for example. Label is editable, so clients create an editpart and to
create an editpart they create the model element, from which the only
necessary information is the semantic hint (type attribute of the view).
In a non-API breaking way with minimum adoption required we introduced
BasicDecorationNode with a cut down features.
JavaDoc for BasicDecorationNode lists the features that
BasicDecorationNode does not support.
BasicDecorationNode shall never have persisted/transient children,
source/target edges and styles.