Generate models from existing source [message #472158] |
Fri, 21 December 2007 07:28  |
Eclipse User |
|
|
|
Hi.
I've been trying out uml2 tools for a couple of hours now trying to find a
way to generate class diagrams from my existing source (a java project). I
cant find a way to do it yet.
Anyone using uml2 tools for this purpose and can point me in the right
direction to accomplish this or does the tool not support this?
Thanks
/Andreas
|
|
|
Re: Generate models from existing source [message #472164 is a reply to message #472158] |
Fri, 21 December 2007 08:05  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------030505020403080409000507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Andreas,
I don't think the tools support this. I don't recall if the GMT project
has any reverse engineering tools like what you want. EMF does
something similar but that requires you annotate the source code (with
@model annotations in the Javadoc) to indicate which things are part of
the model and how methods in the Java code correspond to operations
verses features in the model:
< http://help.eclipse.org/help33/topic/org.eclipse.emf.doc/tut orials/clibmod/clibmod.html#step1b>
http://help.eclipse.org/help33/topic/org.eclipse.emf.doc/tut orials/clibmod/clibmod.html#step1b
From an Ecore model, it's possible to export it to a UML model; it's
also possible, with the Ecore tools component of EMFT, to create a
UML-style class diagram directly for the Ecore model.
Andreas wrote:
> Hi. I've been trying out uml2 tools for a couple of hours now trying
> to find a way to generate class diagrams from my existing source (a
> java project). I cant find a way to do it yet.
> Anyone using uml2 tools for this purpose and can point me in the right
> direction to accomplish this or does the tool not support this?
>
> Thanks
> /Andreas
>
--------------030505020403080409000507
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas,<br>
<br>
I don't think the tools support this.
|
|
|
Re: Generate models from existing source [message #614529 is a reply to message #472158] |
Fri, 21 December 2007 08:05  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------030505020403080409000507
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Andreas,
I don't think the tools support this. I don't recall if the GMT project
has any reverse engineering tools like what you want. EMF does
something similar but that requires you annotate the source code (with
@model annotations in the Javadoc) to indicate which things are part of
the model and how methods in the Java code correspond to operations
verses features in the model:
< http://help.eclipse.org/help33/topic/org.eclipse.emf.doc/tut orials/clibmod/clibmod.html#step1b>
http://help.eclipse.org/help33/topic/org.eclipse.emf.doc/tut orials/clibmod/clibmod.html#step1b
From an Ecore model, it's possible to export it to a UML model; it's
also possible, with the Ecore tools component of EMFT, to create a
UML-style class diagram directly for the Ecore model.
Andreas wrote:
> Hi. I've been trying out uml2 tools for a couple of hours now trying
> to find a way to generate class diagrams from my existing source (a
> java project). I cant find a way to do it yet.
> Anyone using uml2 tools for this purpose and can point me in the right
> direction to accomplish this or does the tool not support this?
>
> Thanks
> /Andreas
>
--------------030505020403080409000507
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas,<br>
<br>
I don't think the tools support this.
|
|
|
Powered by
FUDForum. Page generated in 0.05461 seconds