Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » [Searching] for UML-Lib to draw an Component diagram
[Searching] for UML-Lib to draw an Component diagram [message #1700812] Tue, 07 July 2015 11:27 Go to next message
Christoph Broeter is currently offline Christoph BroeterFriend
Messages: 30
Registered: July 2015
Member
Hello Folks!

I am searching for a possibility to create an uml-diagram out of an programmatical approach by using java.
Why? Cause I want to reverse engineer existing code to draw a mof-extended component diagram out of it.
Therefore there has to be an implementation (created by me) to analyse the existing code structure
and draw components at a defined location and connect them with associations.
The implementation shall also be able to write the created diagram to xmi to ensure further usage by other uml tools.
Because there are several uml-tools out there and I guess that it is very probable that there might be some tools which ensure right what I need.
Also I don't want to invent the wheel from the scratch.
There shall be also said that I want to take care about the analyse of the reverse engineered code and the enhancements of the MFO and use the api of the uml drawing tool
to get an final diagram to show the relations between the components.
Would be also good if the api is easy to use, but just an api able to solve my requirements would be enough. Might be UML2 can serve me.

Thanks!
Re: [Searching] for UML-Lib to draw an Component diagram [message #1700824 is a reply to message #1700812] Tue, 07 July 2015 12:51 Go to previous message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1162
Registered: July 2009
Location: Canada
Senior Member

Hi,

The UML2 project provides no facilities for graphical notation.
However, the Papyrus project [1] does. It provides a component diagram
editor and also APIs for construction/manipulation of diagrams. There
is an "extra component" in an experimental/incubation phase that
provides interchange of diagrams according to the UML-DI specification
introduced with UML 2.5. But I don't know how ready that is for
regular use and how it relates to XMI interchange with other UML tools.

You might ask further on the Papyrus newsgroup (eclipse.papyrus).

HTH,

Christian


[1] http://www.eclipse.org/Papyrus/


On 2015-07-07 12:00:53 +0000, Christoph Broeter said:

> Hello Folks!
>
> I am searching for a possibility to create an uml-diagram out of an
> programmatical approach by using java.
> Why? Cause I want to reverse engineer existing code to draw a
> mof-extended component diagram out of it. Therefore there has to be an
> implementation (created by me) to analyse the existing code structure
> and draw components at a defined location and connect them with
> associations.
> The implementation shall also be able to write the created diagram to
> xmi to ensure further usage by other uml tools.
> Because there are several uml-tools out there and I guess that it is
> very probable that there might be some tools which ensure right what I
> need.
> Also I don't want to invent the wheel from the scratch.
> There shall be also said that I want to take care about the analyse of
> the reverse engineered code and the enhancements of the MFO and use the
> api of the uml drawing tool
> to get an final diagram to show the relations between the components.
> Would be also good if the api is easy to use, but just an api able to
> solve my requirements would be enough. Might be UML2 can serve me.
>
> Thanks!
Previous Topic:UML 2.5 DI support
Next Topic:memberEnds not correctly ordered?
Goto Forum:
  


Current Time: Wed Jan 17 01:50:28 GMT 2018

Powered by FUDForum. Page generated in 0.01577 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software