saad aamer wrote:

Hello to all,

Hello!

and is this posible to generate code from sequence diagram?

Well, I can only come with my conclusions as of working with code generation (with other tools) for a few years. My experience is that it is not possible to generate code from sequence diagrams. The UML spec is not good for this and you are perfectly allowed to make one sequence diagram that contradicts another diagram.

In newer versions of UML there is an action semantic specified but this is not implemented in ArgoUML yet.

What you can do in the mean-time is to do code generation from class diagrams (good enough in UML 1.4) and state machines (useable but needs to be tailored). As far as I know the best you can do today in ArgoUML is generate classes. I believe there is some generator that also looks at activity diagrams but I'm not sure if they are useful.

I have no clue on how to implement any of this if you need to expand whats already done. Someone else will have to answer that. For my use of ArgoUML I have built my own specialized code generators that read the .XMI files and generate what's possible, and the control stuff I do directly in the target language.

/Leif


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to