Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Create SysML projects and diagrams programmatically
Create SysML projects and diagrams programmatically [message #1610810] Wed, 11 February 2015 01:54 Go to next message
Julien Delange is currently offline Julien DelangeFriend
Messages: 82
Registered: October 2011
Member
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.
Re: Create SysML projects and diagrams programmatically [message #1614953 is a reply to message #1610810] Fri, 13 February 2015 16:00 Go to previous message
Cedric Dumoulin is currently offline Cedric DumoulinFriend
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.
>
Previous Topic:Execution of state charts
Next Topic:Java code generation for new simple entity with Eclipse RAP interface
Goto Forum:
  


Current Time: Fri Mar 29 10:50:23 GMT 2024

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

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

Back to the top