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: 26231
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.
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: 26231
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.
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: Thu Nov 27 12:23:45 GMT 2014

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

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