Bug 55250 - generate code from activity and sequence diagrams
Summary: generate code from activity and sequence diagrams
Status: CONFIRMED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 23:18 UTC by Jonathan Riddell
Modified: 2005-08-17 03:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.