|Sequence Diagrams - creating a message which source and target is the same lifeline [message #626176]
||Tue, 11 March 2008 02:42
Originally posted by: the.vreid.googlemail.com|
i am currently working on small tool(bachelor exam) which creates
sequence diagrams from java sourcecode. I am able to create most of the
elements i need (Lifelines, Messages, Occurrence/Execution
Specifications,...). I am tweaking my tool so the IBM Rational Software
Modeler has no problem visualizing the model it creates. Most of my
"knowledge" comes from looking at models create by IBM Rat. Soft. Mod.
and other tools (Topcased UML, MagicDraw CE, ..). Although i've come
pretty far, i hit a dead end. I can't figure out how to create a message
from a lifeline back to itself so that the visualization shows a new
Behavior Occurrence Specification. I attached the code i use to create a
messages and to create a new Behavioral Occurrence Specification (BOS).
After the creation of the BOS i invoke
recvExecutionSpec the new BOS and lifelineSend the lifeline it was
created from (although only the name is used in the actual createBOS
method). Is there anything i have to look for when i want to create a
"nested" BOS to create a recursive message? I noticed that the IBM Rat.
Soft. Mod. creates Execution Events and Execution Occurrence
Specifications if i create a model visually, are there the key?
Aside from the actual question i would be very grateful for any links
and snippets (you may be able to release) which deal with the
"programmatically" creation of the UML models (especially sequence
diagram). I think i exhausted the material a newbie is able to google
and find on this newsgroup :/
Is there maybe any information available in the uml spec that i missed?
I also want to apologize for my bad english since i'm from germany.
Powered by FUDForum
. Page generated in 0.08171 seconds