Home » Modeling » UML2 Tools » roadmap
| |
Re: roadmap [message #475795 is a reply to message #475794] |
Mon, 13 October 2008 10:48 |
Tatiana Fesenko 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 |
Rafael Chaves 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 #622789 is a reply to message #475794] |
Mon, 13 October 2008 10:48 |
Tatiana Fesenko 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 |
Rafael Chaves 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?
>>>
>
>
|
|
| |
Goto Forum:
Current Time: Sat Sep 21 19:49:03 GMT 2024
Powered by FUDForum. Page generated in 0.03320 seconds
|