[Issue 5990] delete from model of a call action doesn't remove return row and exception is printed on selection
| Newsgroups | gmane.comp.lang.uml.argouml.issues |
|---|---|
| Message-ID | <[email protected]> |
http://argouml.tigris.org/issues/show_bug.cgi?id=5990 ------- Additional comments from [email protected] Wed Oct 19 23:20:07 -0700 2011 ------- Indeed, this would better be solved in the FigClassifierRole class. I think it would be better is removeFigEdge() does not call positionHead() with as parameter the removed message, but instead it should check if the removed message is de first createmessage (that influences the FigClassifierRole location) and if so call positionHead() with as parameter the next first create message. Something like this: public void removeFigEdge(FigEdge edge) { super.removeFigEdge(edge); if (edge.equals(storedFirstCreateMessage)) { positionHead(getFirstCreateFigMessage()); createActivations(); } } This would mean that we have to keep "storedFirstCreateMessage" as a local attribute of the FigClassifierRole class. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2859431 To unsubscribe from this list, e-mail: [[email protected]]. Please do not reply to this mail. Instead, add your comments in the issue.