Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Generate UML component diagrams with ATL
Generate UML component diagrams with ATL [message #1722728] Mon, 08 February 2016 15:52 Go to next message
Rafael Abreu is currently offline Rafael AbreuFriend
Messages: 1
Registered: February 2016
Junior Member
Hello friends,

I am trying to generate an UML component diagram with ATL. I can create the uml:model perfectly, but I don't know how to create the respective Diagram. In the code below, the lines marked in red do not work.
Please, I need help, maybe some one could provide me an example of a similar transformation.

entrypoint rule CreateModel() {
to
c:UML!"uml::Model"(
name <- 'Modelo de componentes',
--"xmi:type" <- 'uml:Component'

),
d:UML!"uml::Diagram"(
name <- 'Modelo de componentes'
)

}

Thanks in advanced
Re: Generate UML component diagrams with ATL [message #1725034 is a reply to message #1722728] Mon, 29 February 2016 08:48 Go to previous message
Ronan B is currently offline Ronan BFriend
Messages: 273
Registered: July 2009
Senior Member
Hi,
The Eclipse UML2 MetaModel, see http://download.eclipse.org/modeling/mdt/uml2/javadoc/3.0.0/ doesn't include diagramatic elements so what you want to do is not possible. There is however an API within Papyrus (see the Papyrus forum for such questions) for creating diagrams once you have created the model structure. The latter is what you can sue ATL for.
HTH,
Ronan
Previous Topic:one element to multiple transformation
Next Topic:ATL transformation for multiple input models
Goto Forum:
  


Current Time: Sat Apr 20 02:01:48 GMT 2024

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

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

Back to the top