Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UML Xcode plugin



my 2ยข

At 23:54 -0800 17-01-2006, Rob Rohan wrote:
Does there exist such a thing as a UML plugin for Xcode?  I'm looking
for something for doing C++ specifically.  If not, is there anything
decent for OS X that doesn't require megabucks or preferably anybucks?

I take it the built in UML tools in Xcode don't work with C++ ? Design>Class Model>Quick Model (I've only used the Xcode UML with ObjC)


For Java, Javascript, and all the rest I like to use OmniGraffle Pro (Pro because of the Visio XML Export)
http://www.omnigroup.com/applications/omnigraffle/pro/


It's a bit pricey (145USD), but it's a great tool (it also does networks, flow charts, etc).

The only bummer part is it's export functions are kind of lacking.

As export options go, it has, i think, a decent range of formats...

The only export supported format you can massage is the Visio XML export. But from there you can use XSLT to generate the skeleton code from the diagram. Obviously it's not round trip, but it's good when getting a project started.

The way as i understand Omnigraffle intends to generate code in with defining an action for an object (inspectors->action->run a script). However, the UML stencil i'm using doesn't seem to come with any scripts to do this ... So this remains theory...





Along the same lines is argo UML http://argouml.tigris.org/ - which is java oriented (and java based), but can export the diagram to XMI and then you could XSLT...

The last time i looked at it, (more than a year ago) the argo UI was horrible. The UML modelling logic is very imposing, taking over control of many aspects of the diagram. The drawing logic, placement, connectors etc. was very poor. And, reading the code i found some horrible hanging bugs (uncaught exceptions all over the place, threads that dead-lock or starve). I did do look at the code when it failed to open one of my projects...


So i switched to Omnigraffle, that at least let's me draw the diagram the way i want them to be.
And then i code the (Java) classes by hand.
Not round trip, for me, as a SW architect, code generation is second to getting the right kind of diagrams to explain my design.


When you export the omnigrfle file as HTML map you can define actions for objects that would open a file by URL so one could use the diagram in the SW documentation with clickable links to various doc files.
Never tried doing this, though.



Lastly (that I know of anyway) you could try dia (http://www.gnome.org/projects/dia/) via http://dia.darwinports.com/ and Apple X11 (though those apps always look bad).


However, none of those are round trip like the built in Xcode UML.

Good luck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


--
Eduard

	An optimist believes we live in the best of all possible worlds.
       	A pessimist fears this is true.

UK: +44 787 627 2204 USA: +1 650 703 4608(M)  NL: +31 62 669 2972(M),
skype: +1  650 515 3448, eduardkareletc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >UML Xcode plugin (From: Wesley Smith <email@hidden>)
 >Re: UML Xcode plugin (From: Rob Rohan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.