|
Re: Create SysML projects and diagrams programmatically [message #1614953 is a reply to message #1610810] |
Fri, 13 February 2015 16:00 |
Cedric Dumoulin Messages: 51 Registered: July 2009 |
Member |
|
|
Hi,
This plugin may help you has a starting point:
org.eclipse.papyrus.integrationtests.editor (from
git/tests/integration/plugins)
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
domain objects.
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
(from git/extraplugins/layers)
Hope this help,
Cedric
Julien Mising name a écrit :
> Hello,
>
> 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?
>
> Thanks.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02627 seconds