|
|
Re: [newbee] Howto create children programmatically? [message #494395 is a reply to message #494394] |
Fri, 30 October 2009 14:11 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
AS for the CreateChildCommand, I don't remember the exact syntax but
commands are used when your model is under editor control that allows
undo/redo. If you are updating your model in conjunction with an editing
domain and a command stack then you must use commands to update the
model. It you updated directly then you would break the command stack
and you couldn't undo/redo the changes. If you are not maintaining your
model as an input to an editor then you would directly use the getters
and setters in the generated model.
--
Thanks,
Rich Kulp
|
|
|
|
Powered by
FUDForum. Page generated in 0.02902 seconds