|
|
|
|
|
Re: Question about: BasicDecorationNodeImpl and persistedChildren feature [message #232989 is a reply to message #232981] |
Mon, 08 June 2009 15:36 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Thanks Alex, I will for sure check the java doc next time!
gr. Martin
Alex Boyko wrote:
> Hi Martin,
>
> 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.
>
> Hope this helps.
>
> Cheers,
> Alex
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.03133 seconds