Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Generate models from existing source
Generate models from existing source [message #472158] Fri, 21 December 2007 12:28 Go to next message
Andreas Ã?h is currently offline Andreas Ã?hFriend
Messages: 4
Registered: July 2009
Junior Member
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 13:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Generate models from existing source [message #614529 is a reply to message #472158] Fri, 21 December 2007 13:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Re: How to use partition in uml2tool activity diagram
Next Topic:How can I associate a inputPIN with a AcceptEventAction
Goto Forum:
  


Current Time: Sat Apr 20 03:19:41 GMT 2024

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

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

Back to the top