Bug 55250

Summary: generate code from activity and sequence diagrams
Product: [Applications] umbrello Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: CONFIRMED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Riddell 2003-02-26 23:18:55 UTC
Version:            (using KDE Devel)
OS:          Linux

Code generators should take into account sequence and activity diagrams.
Comment 1 Brian Thomas 2003-12-12 18:25:27 UTC
I'd consider doing this, but have no clue as to where to begin. Can you suggest some paper(s)/book/articles which outline how this might be achieved (hopefully without the help of sophisticated AI program).
Comment 2 Jonathan Riddell 2003-12-22 17:16:52 UTC
I think it's just a case of if you have objects in a sequence diagram

[myObject]---myOperation()--->[myObject2]---myOperation2()-->[myObject3]

Then you put a line in myObject2.myOperation() calling myObject3.myOperation()


There will probably be plenty of complications and it may end up not being useful.
Comment 3 A. Rick Anderson 2005-08-17 03:45:22 UTC
Borland's Control Center does the inverse of this where it generates a Sequence Diagram from existing source code.  Looping constructs require the use of the pre-condition labels ex: [if(a<b], but it works.