Creating additional elements in CreateCommand [message #510463] |
Wed, 27 January 2010 15:18 |
Eclipse User |
|
|
|
Originally posted by: ML1984.gmx.de
Hi all.
I am experiencing problems when creating additional elements in
doExecuteWithResult of XYZCreateCommand (inheriting from
EditElementCommand).
The additionally created elements are not displayed in the diagram, ie
notation is not updated. (as it should be?) What might be the cause of
this and how can this problem be solved?
The last three lines of doExecuteWithResult are:
doConfigure(newElement, monitor, info);
((CreateElementRequest) getRequest()).setNewElement(newElement);
return CommandResult.newOKCommandResult(newElement);
None of these statements references any of the additional elements (and
I added no appropriate statements). Did I get the mentioned newsgroup
thread wrong? / Is this the error?
Any help is greatly appreciated.
Cheers,
Mark
|
|
|
Re: Creating additional elements in CreateCommand (fixed bug) [message #510464 is a reply to message #510463] |
Wed, 27 January 2010 15:20 |
Eclipse User |
|
|
|
Originally posted by: ML1984.gmx.de
Hi all.
I am experiencing problems when creating additional elements in
doExecuteWithResult of XYZCreateCommand (inheriting from
EditElementCommand).
The additionally created elements are not displayed in the diagram, ie
notation is not updated. (as it should be?) What might be the cause of
this and how can this problem be solved?
The last three lines of doExecuteWithResult are:
doConfigure(newElement, monitor, info);
((CreateElementRequest) getRequest()).setNewElement(newElement);
return CommandResult.newOKCommandResult(newElement);
None of these statements references any of the additional elements (and
I added no appropriate statements). Is this the error?
Any help is greatly appreciated.
Cheers,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.04136 seconds