Skip to main content



      Home
Home » Eclipse Projects » Sirius » Automatic creation diagram
Automatic creation diagram [message #1804532] Thu, 28 March 2019 08:21 Go to next message
Eclipse UserFriend

Good afternoon,

I would like to ask if it is possible to create a diagram automatically together with it's point of view without having to previously select the domain model and the viewpoint? If this is not possible, can this task be automated in any way?

Thank you very much for your attention,

A greeting.
Re: Automatic creation diagram [message #1804536 is a reply to message #1804532] Thu, 28 March 2019 09:23 Go to previous message
Eclipse UserFriend
Hi Cristian,

This possible in different way:

- from a tool, you could trigger the creation of a diagram while you create some elements
- you could provide your own project creation wizard which will activate one or several viewpoint and create your domain model.
- ..

You might find samples of this in ULM Designer [1][2] or EcoreTools [3][4]

Some entry points :
- org.eclipse.sirius.ui.business.api.viewpoint.ViewpointSelection
- org.eclipse.sirius.business.api.dialect.command.CreateRepresentationCommand

We would need more details of what you want to achieve to give additional entry points



Regards,

[1] Create project section of http://www.umldesigner.org/ref-doc/define-the-system.html
[2] https://github.com/ObeoNetwork/UML-Designer/blob/master/plugins/org.obeonetwork.dsl.uml2.design/src/org/obeonetwork/dsl/uml2/design/internal/wizards/newproject/UMLProjectWizard.java
[3] https://www.eclipse.org/ecoretools/doc/index.html
[4] https://github.com/eclipse/ecoretools/tree/master/org.eclipse.emf.ecoretools.design.ui/src/org/eclipse/emf/ecoretools/design/ui/wizard
Previous Topic:Show only parent nodes.
Next Topic:Tree Representation: delete sub-element reference
Goto Forum:
  


Current Time: Tue Jul 15 12:40:41 EDT 2025

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

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

Back to the top