Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Creating UML diagrams programmatically
Creating UML diagrams programmatically [message #494026] Wed, 28 October 2009 16:04 Go to next message
Eclipse User
Originally posted by: travisdavidnelson.msn.com

I'm working on a project that is refactoring procedural legacy business code
into object-oriented code. I need to be able to programmatically build UML
diagrams (initially, class inheritance and sequence diagrams) from my model
of the OO system.

I've found this article, Getting Started with UML2
( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html),
to be useful demonstrating how to programmatically build a UML definition of
a package and class. Am I right to assume I'll be able to generate a class
diagram from such a definition? Can I use UML2Tools to render such
diagrams? Does anyone know of similar articles/tutorials showing how to
programmatically build a definition of a sequence diagram?

Thanks for your help,
Travis
Re: Creating UML diagrams programmatically [message #494202 is a reply to message #494026] Thu, 29 October 2009 10:55 Go to previous messageGo to next message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
Hi Travis,

If I'm not mistaken, once you have the semantic model built, you should be
able to use UML2Tools to automatically create a diagram. You would need to
ask the eclipse.modeling.mdt.uml2tools newsgroup about the details.

Cheers,
- James.

"Travis Nelson" <travisdavidnelson@msn.com> wrote in message
news:hca84b$m2j$1@build.eclipse.org...
> I'm working on a project that is refactoring procedural legacy business
> code into object-oriented code. I need to be able to programmatically
> build UML diagrams (initially, class inheritance and sequence diagrams)
> from my model of the OO system.
>
> I've found this article, Getting Started with UML2
> ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html),
> to be useful demonstrating how to programmatically build a UML definition
> of a package and class. Am I right to assume I'll be able to generate a
> class diagram from such a definition? Can I use UML2Tools to render such
> diagrams? Does anyone know of similar articles/tutorials showing how to
> programmatically build a definition of a sequence diagram?
>
> Thanks for your help,
> Travis
>
Re: Creating UML diagrams programmatically [message #494295 is a reply to message #494202] Thu, 29 October 2009 23:46 Go to previous message
Eclipse User
Originally posted by: travisdavidnelson.msn.com

James - Thanks for the response. It looks like there's some good info over
there in the uml2tools newsgroup.

Regards,
Travis

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:hcca63$dkp$1@build.eclipse.org...
> Hi Travis,
>
> If I'm not mistaken, once you have the semantic model built, you should be
> able to use UML2Tools to automatically create a diagram. You would need
> to ask the eclipse.modeling.mdt.uml2tools newsgroup about the details.
>
> Cheers,
> - James.
>
> "Travis Nelson" <travisdavidnelson@msn.com> wrote in message
> news:hca84b$m2j$1@build.eclipse.org...
>> I'm working on a project that is refactoring procedural legacy business
>> code into object-oriented code. I need to be able to programmatically
>> build UML diagrams (initially, class inheritance and sequence diagrams)
>> from my model of the OO system.
>>
>> I've found this article, Getting Started with UML2
>> ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html),
>> to be useful demonstrating how to programmatically build a UML definition
>> of a package and class. Am I right to assume I'll be able to generate a
>> class diagram from such a definition? Can I use UML2Tools to render such
>> diagrams? Does anyone know of similar articles/tutorials showing how to
>> programmatically build a definition of a sequence diagram?
>>
>> Thanks for your help,
>> Travis
>>
>
>
Re: Creating UML diagrams programmatically [message #628015 is a reply to message #494026] Thu, 29 October 2009 10:55 Go to previous message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
Hi Travis,

If I'm not mistaken, once you have the semantic model built, you should be
able to use UML2Tools to automatically create a diagram. You would need to
ask the eclipse.modeling.mdt.uml2tools newsgroup about the details.

Cheers,
- James.

"Travis Nelson" <travisdavidnelson@msn.com> wrote in message
news:hca84b$m2j$1@build.eclipse.org...
> I'm working on a project that is refactoring procedural legacy business
> code into object-oriented code. I need to be able to programmatically
> build UML diagrams (initially, class inheritance and sequence diagrams)
> from my model of the OO system.
>
> I've found this article, Getting Started with UML2
> ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html),
> to be useful demonstrating how to programmatically build a UML definition
> of a package and class. Am I right to assume I'll be able to generate a
> class diagram from such a definition? Can I use UML2Tools to render such
> diagrams? Does anyone know of similar articles/tutorials showing how to
> programmatically build a definition of a sequence diagram?
>
> Thanks for your help,
> Travis
>
Re: Creating UML diagrams programmatically [message #628022 is a reply to message #494202] Thu, 29 October 2009 23:46 Go to previous message
Eclipse User
Originally posted by: travisdavidnelson.msn.com

James - Thanks for the response. It looks like there's some good info over
there in the uml2tools newsgroup.

Regards,
Travis

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:hcca63$dkp$1@build.eclipse.org...
> Hi Travis,
>
> If I'm not mistaken, once you have the semantic model built, you should be
> able to use UML2Tools to automatically create a diagram. You would need
> to ask the eclipse.modeling.mdt.uml2tools newsgroup about the details.
>
> Cheers,
> - James.
>
> "Travis Nelson" <travisdavidnelson@msn.com> wrote in message
> news:hca84b$m2j$1@build.eclipse.org...
>> I'm working on a project that is refactoring procedural legacy business
>> code into object-oriented code. I need to be able to programmatically
>> build UML diagrams (initially, class inheritance and sequence diagrams)
>> from my model of the OO system.
>>
>> I've found this article, Getting Started with UML2
>> ( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html),
>> to be useful demonstrating how to programmatically build a UML definition
>> of a package and class. Am I right to assume I'll be able to generate a
>> class diagram from such a definition? Can I use UML2Tools to render such
>> diagrams? Does anyone know of similar articles/tutorials showing how to
>> programmatically build a definition of a sequence diagram?
>>
>> Thanks for your help,
>> Travis
>>
>
>
Previous Topic:Possible bug in UML2 Genmodel
Next Topic:(eObject instanceof Element) in destroy() method
Goto Forum:
  


Current Time: Sat Jul 26 01:16:26 EDT 2014

Powered by FUDForum. Page generated in 0.49454 seconds