|Re: Create SysML projects and diagrams programmatically [message #1614953 is a reply to message #1610810]
||Fri, 13 February 2015 16:00
| Cedric Dumoulin
Registered: July 2009
This plugin may help you has a starting point:
It contains tests that:
- create an Eclipse project
- create a Papyrus editor (not suited to be opened). This create a
Papyrus model that can be saved.
- create diagrams inside the editor.
Once you have the editor, you can access all Papyrus models (uml,
notation, ...), modify them, save them . In uml model, you can create
The project allows to access to the Diagram, but there is no examples of
how to create diagram elements. I know there is an extra plugin showing
that (I don't remind its name).
This plugin is used by org.eclipse.papyrus.layers.integrationtests
Hope this help,
Julien Mising name a écrit :
> I am trying to automatically create Papyrus SysML projects and models
> inside an Eclipse plugin. The idea is to create an empty project and
> complete it by creating all the sysml object using java (in fact, sysml
> is a background language). Is there any code example/test that show how
> to proceed?
Powered by FUDForum
. Page generated in 0.01292 seconds