Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » roadmap
roadmap [message #475793] Sun, 12 October 2008 14:47 Go to next message
teknokrat is currently offline teknokratFriend
Messages: 73
Registered: July 2009
Member
I can't for the life of me find a feature roadmap for this project. Can
someone comment on whether ther is any plans to provide code generation
features in these tools. In particular, generating class diagrams from
source code?
Re: roadmap [message #475794 is a reply to message #475793] Sun, 12 October 2008 18:26 Go to previous messageGo to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
The UML2 Tools page on the Eclipse wiki states:

"UML2 Tools is a set of GMF-based editors for viewing and editing UML
models."

Basically, the focus in UML2 Tools is graphical editing of UML models.
What you do with those models afterwards is out of scope. And that
should come with no surprise, given that Eclipse applications are
inherently modular.

If you are interested in code generation, there are many other
Eclipse.org projects that provide that:

http://www.eclipse.org/modeling/m2t/

There are also other code generation tools out there that can read UML2
models as well (check the "Code generation" column):

http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

By combining UML2 Tools with a code generation tool, you can get what
you are looking for.

Cheers,

Rafael

teknokrat wrote:
> I can't for the life of me find a feature roadmap for this project. Can
> someone comment on whether ther is any plans to provide code generation
> features in these tools. In particular, generating class diagrams from
> source code?
Re: roadmap [message #475795 is a reply to message #475794] Mon, 13 October 2008 10:48 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi,

Diagrams, created by UML2Tools, support Java code generation.
But I don't know anything about creating UML Class diagrams from Java code
(reverse-engineering).

If you are interested in Java-code generation, here are steps to generate
Java-code from Class diagram, created by UML2Tools:
1) Open *.uml file
2) Create Ecore file from the existing *.uml file
3) Call 'Generate Model' action from context menu of the just-created *.genmodel
file .

The steps are described in UML2 FAQ ( http://wiki.eclipse.org/MDT/UML2/FAQ#Can_I_generate_code_fro m_my_UML_.28.uml.29_model.3F)
and discussed in UML2 newsgroup ( news://news.eclipse.org/ceca9c1e8280cf63728b09c6a26e6b67$1@w ww.eclipse.org).

Why UML2Tools wasn't supposed to generate Java-code, but it does?
The reason is that UML2Tools uses UML2(http://wiki.eclipse.org/MDT-UML2)
as its metamodel. After you create a diagram, you find two files were created
- domain model file (*.uml file, provided by UML2 component) and diagram
file (*.umlclass,*. umlcomp, etc). UML2Tools uses capabilities provided by
UML2 project, one of such capabilities is Java-code generation.
Another example of using features provided by other Eclipse components is
diagramming features provided by GMF-Runtime, such as priting, save as picture,
common toolbar actions, preferences pages and many more.

Best wishes,
Tatiana.

> The UML2 Tools page on the Eclipse wiki states:
>
> "UML2 Tools is a set of GMF-based editors for viewing and editing UML
> models."
>
> Basically, the focus in UML2 Tools is graphical editing of UML models.
> What you do with those models afterwards is out of scope. And that
> should come with no surprise, given that Eclipse applications are
> inherently modular.
>
> If you are interested in code generation, there are many other
> Eclipse.org projects that provide that:
>
> http://www.eclipse.org/modeling/m2t/
>
> There are also other code generation tools out there that can read
> UML2 models as well (check the "Code generation" column):
>
> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>
> By combining UML2 Tools with a code generation tool, you can get what
> you are looking for.
>
> Cheers,
>
> Rafael
>
> teknokrat wrote:
>
>> I can't for the life of me find a feature roadmap for this project.
>> Can someone comment on whether ther is any plans to provide code
>> generation features in these tools. In particular, generating class
>> diagrams from source code?
>>
Re: roadmap [message #475796 is a reply to message #475795] Mon, 13 October 2008 18:31 Go to previous messageGo to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
Well... yes, there is support for generating a EMF-based model (and
editor) implementation from the UML model, but that is too specific to
be useful as a general code generation mechanism. And it is true that
you can choose to enable 'dynamic templates' on your genmodel and
provide custom templates for the legacy JET implementation embedded in
EMF yourself, but I were going to use JET, I would go with JET2 instead.
And make sure you check alternatives such as oAW xText and Obeo Acceleo.

Cheers,

Rafael

Tatiana Fesenko wrote:
> Hi,
>
> Diagrams, created by UML2Tools, support Java code generation. But I
> don't know anything about creating UML Class diagrams from Java code
> (reverse-engineering).
>
> If you are interested in Java-code generation, here are steps to
> generate Java-code from Class diagram, created by UML2Tools:
> 1) Open *.uml file
> 2) Create Ecore file from the existing *.uml file
> 3) Call 'Generate Model' action from context menu of the just-created
> *.genmodel file .
> The steps are described in UML2 FAQ
> ( http://wiki.eclipse.org/MDT/UML2/FAQ#Can_I_generate_code_fro m_my_UML_.28.uml.29_model.3F)
> and discussed in UML2 newsgroup
> ( news://news.eclipse.org/ceca9c1e8280cf63728b09c6a26e6b67$1@w ww.eclipse.org).
>
>
> Why UML2Tools wasn't supposed to generate Java-code, but it does? The
> reason is that UML2Tools uses UML2(http://wiki.eclipse.org/MDT-UML2) as
> its metamodel. After you create a diagram, you find two files were
> created - domain model file (*.uml file, provided by UML2 component) and
> diagram file (*.umlclass,*. umlcomp, etc). UML2Tools uses capabilities
> provided by UML2 project, one of such capabilities is Java-code generation.
> Another example of using features provided by other Eclipse components
> is diagramming features provided by GMF-Runtime, such as priting, save
> as picture, common toolbar actions, preferences pages and many more.
>
> Best wishes,
> Tatiana.
>
>> The UML2 Tools page on the Eclipse wiki states:
>>
>> "UML2 Tools is a set of GMF-based editors for viewing and editing UML
>> models."
>>
>> Basically, the focus in UML2 Tools is graphical editing of UML models.
>> What you do with those models afterwards is out of scope. And that
>> should come with no surprise, given that Eclipse applications are
>> inherently modular.
>>
>> If you are interested in code generation, there are many other
>> Eclipse.org projects that provide that:
>>
>> http://www.eclipse.org/modeling/m2t/
>>
>> There are also other code generation tools out there that can read
>> UML2 models as well (check the "Code generation" column):
>>
>> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>>
>> By combining UML2 Tools with a code generation tool, you can get what
>> you are looking for.
>>
>> Cheers,
>>
>> Rafael
>>
>> teknokrat wrote:
>>
>>> I can't for the life of me find a feature roadmap for this project.
>>> Can someone comment on whether ther is any plans to provide code
>>> generation features in these tools. In particular, generating class
>>> diagrams from source code?
>>>
>
>
Re: roadmap [message #475797 is a reply to message #475793] Thu, 16 October 2008 16:03 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
teknokrat wrote:
> I can't for the life of me find a feature roadmap for this project. Can
> someone comment on whether ther is any plans to provide code generation
> features in these tools. In particular, generating class diagrams from
> source code?

As Tatiana implied, the direction that you are talking about is
typically called "reverse engineering," not "code generation."

Reverse engineering modules are specific to the source language, so you
also need to specify whether you are interested in Java, C++, Python,
Ruby, etc.

Tom
Re: roadmap [message #622788 is a reply to message #475793] Sun, 12 October 2008 18:26 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
The UML2 Tools page on the Eclipse wiki states:

"UML2 Tools is a set of GMF-based editors for viewing and editing UML
models."

Basically, the focus in UML2 Tools is graphical editing of UML models.
What you do with those models afterwards is out of scope. And that
should come with no surprise, given that Eclipse applications are
inherently modular.

If you are interested in code generation, there are many other
Eclipse.org projects that provide that:

http://www.eclipse.org/modeling/m2t/

There are also other code generation tools out there that can read UML2
models as well (check the "Code generation" column):

http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility

By combining UML2 Tools with a code generation tool, you can get what
you are looking for.

Cheers,

Rafael

teknokrat wrote:
> I can't for the life of me find a feature roadmap for this project. Can
> someone comment on whether ther is any plans to provide code generation
> features in these tools. In particular, generating class diagrams from
> source code?
Re: roadmap [message #622789 is a reply to message #475794] Mon, 13 October 2008 10:48 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi,

Diagrams, created by UML2Tools, support Java code generation.
But I don't know anything about creating UML Class diagrams from Java code
(reverse-engineering).

If you are interested in Java-code generation, here are steps to generate
Java-code from Class diagram, created by UML2Tools:
1) Open *.uml file
2) Create Ecore file from the existing *.uml file
3) Call 'Generate Model' action from context menu of the just-created *.genmodel
file .

The steps are described in UML2 FAQ ( http://wiki.eclipse.org/MDT/UML2/FAQ#Can_I_generate_code_fro m_my_UML_.28.uml.29_model.3F)
and discussed in UML2 newsgroup ( news://news.eclipse.org/ceca9c1e8280cf63728b09c6a26e6b67$1@w ww.eclipse.org).

Why UML2Tools wasn't supposed to generate Java-code, but it does?
The reason is that UML2Tools uses UML2(http://wiki.eclipse.org/MDT-UML2)
as its metamodel. After you create a diagram, you find two files were created
- domain model file (*.uml file, provided by UML2 component) and diagram
file (*.umlclass,*. umlcomp, etc). UML2Tools uses capabilities provided by
UML2 project, one of such capabilities is Java-code generation.
Another example of using features provided by other Eclipse components is
diagramming features provided by GMF-Runtime, such as priting, save as picture,
common toolbar actions, preferences pages and many more.

Best wishes,
Tatiana.

> The UML2 Tools page on the Eclipse wiki states:
>
> "UML2 Tools is a set of GMF-based editors for viewing and editing UML
> models."
>
> Basically, the focus in UML2 Tools is graphical editing of UML models.
> What you do with those models afterwards is out of scope. And that
> should come with no surprise, given that Eclipse applications are
> inherently modular.
>
> If you are interested in code generation, there are many other
> Eclipse.org projects that provide that:
>
> http://www.eclipse.org/modeling/m2t/
>
> There are also other code generation tools out there that can read
> UML2 models as well (check the "Code generation" column):
>
> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>
> By combining UML2 Tools with a code generation tool, you can get what
> you are looking for.
>
> Cheers,
>
> Rafael
>
> teknokrat wrote:
>
>> I can't for the life of me find a feature roadmap for this project.
>> Can someone comment on whether ther is any plans to provide code
>> generation features in these tools. In particular, generating class
>> diagrams from source code?
>>
Re: roadmap [message #622790 is a reply to message #475795] Mon, 13 October 2008 18:31 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 362
Registered: July 2009
Senior Member
Well... yes, there is support for generating a EMF-based model (and
editor) implementation from the UML model, but that is too specific to
be useful as a general code generation mechanism. And it is true that
you can choose to enable 'dynamic templates' on your genmodel and
provide custom templates for the legacy JET implementation embedded in
EMF yourself, but I were going to use JET, I would go with JET2 instead.
And make sure you check alternatives such as oAW xText and Obeo Acceleo.

Cheers,

Rafael

Tatiana Fesenko wrote:
> Hi,
>
> Diagrams, created by UML2Tools, support Java code generation. But I
> don't know anything about creating UML Class diagrams from Java code
> (reverse-engineering).
>
> If you are interested in Java-code generation, here are steps to
> generate Java-code from Class diagram, created by UML2Tools:
> 1) Open *.uml file
> 2) Create Ecore file from the existing *.uml file
> 3) Call 'Generate Model' action from context menu of the just-created
> *.genmodel file .
> The steps are described in UML2 FAQ
> ( http://wiki.eclipse.org/MDT/UML2/FAQ#Can_I_generate_code_fro m_my_UML_.28.uml.29_model.3F)
> and discussed in UML2 newsgroup
> ( news://news.eclipse.org/ceca9c1e8280cf63728b09c6a26e6b67$1@w ww.eclipse.org).
>
>
> Why UML2Tools wasn't supposed to generate Java-code, but it does? The
> reason is that UML2Tools uses UML2(http://wiki.eclipse.org/MDT-UML2) as
> its metamodel. After you create a diagram, you find two files were
> created - domain model file (*.uml file, provided by UML2 component) and
> diagram file (*.umlclass,*. umlcomp, etc). UML2Tools uses capabilities
> provided by UML2 project, one of such capabilities is Java-code generation.
> Another example of using features provided by other Eclipse components
> is diagramming features provided by GMF-Runtime, such as priting, save
> as picture, common toolbar actions, preferences pages and many more.
>
> Best wishes,
> Tatiana.
>
>> The UML2 Tools page on the Eclipse wiki states:
>>
>> "UML2 Tools is a set of GMF-based editors for viewing and editing UML
>> models."
>>
>> Basically, the focus in UML2 Tools is graphical editing of UML models.
>> What you do with those models afterwards is out of scope. And that
>> should come with no surprise, given that Eclipse applications are
>> inherently modular.
>>
>> If you are interested in code generation, there are many other
>> Eclipse.org projects that provide that:
>>
>> http://www.eclipse.org/modeling/m2t/
>>
>> There are also other code generation tools out there that can read
>> UML2 models as well (check the "Code generation" column):
>>
>> http://wiki.eclipse.org/MDT-UML2-Tool-Compatibility
>>
>> By combining UML2 Tools with a code generation tool, you can get what
>> you are looking for.
>>
>> Cheers,
>>
>> Rafael
>>
>> teknokrat wrote:
>>
>>> I can't for the life of me find a feature roadmap for this project.
>>> Can someone comment on whether ther is any plans to provide code
>>> generation features in these tools. In particular, generating class
>>> diagrams from source code?
>>>
>
>
Re: roadmap [message #622791 is a reply to message #475793] Thu, 16 October 2008 16:03 Go to previous message
Tom Morris is currently offline Tom MorrisFriend
Messages: 89
Registered: July 2009
Member
teknokrat wrote:
> I can't for the life of me find a feature roadmap for this project. Can
> someone comment on whether ther is any plans to provide code generation
> features in these tools. In particular, generating class diagrams from
> source code?

As Tatiana implied, the direction that you are talking about is
typically called "reverse engineering," not "code generation."

Reverse engineering modules are specific to the source language, so you
also need to specify whether you are interested in Java, C++, Python,
Ruby, etc.

Tom
Previous Topic:roadmap
Next Topic:[ActivityD] What does it take to finish support for ExpansionRegions and ExpansionNodes?
Goto Forum:
  


Current Time: Thu Apr 25 09:25:48 GMT 2024

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

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

Back to the top