Skip to main content



      Home
Home » Eclipse Projects » Sirius » Deploy DSL
Deploy DSL [message #1665523] Wed, 11 March 2015 05:14 Go to next message
Eclipse UserFriend
Good morning,

I would like to deploy my DSL as a project. I explain myself:
I would like that my DSL appears as a new project (File > New Project...). Moreover, when a model of my DSL is created, I would like to have the viewpoints (diagrams, tables) associated to it automaticaly.

Is it possible to deploy my DSL in Eclipse?

Thank you,

Adrien.
Re: Deploy DSL [message #1665643 is a reply to message #1665523] Wed, 11 March 2015 06:24 Go to previous message
Eclipse UserFriend
Hello,

If you want to contribute a new wizard you will need to use the Eclipse
UI extension point "org.eclipse.ui.newWizards".
As you want to initialize a modeling project with a model conforms to
your DSL, I think the easiest is that you look how is contributed the
"new modeling project" wizard. Look for
org.eclipse.sirius.ui.tools.internal.wizards.ModelingProjectWizard. I
guess that your wizard should extend this one and add a step where you
create your own model of your DSL and activate the dedicated Viewpoint
that you specified in your DSL.
By the way, if needed, you can go further and check the "Initialization"
parameter on a "representation description" in your VSM to automatically
create a Diagram/Table/Tree on activation of your viewpoint. You can
also check the "Show on startup" parameter so these Diagram/Table/Tree
will automatically open. This way your enduser could work directly after
the wizard process without investigating where/how to create a
representation.

Regards,
Steve

Le 11/03/2015 10:14, Adrien Lefevre a écrit :
> Good morning,
>
> I would like to deploy my DSL as a project. I explain myself:
> I would like that my DSL appears as a new project (File > New
> Project...). Moreover, when a model of my DSL is created, I would like
> to have the viewpoints (diagrams, tables) associated to it automaticaly.
>
> Is it possible to deploy my DSL in Eclipse?
>
> Thank you,
>
> Adrien.


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Defining a dynamic context submenu
Next Topic:Petri-Net Editor Edge Contraints
Goto Forum:
  


Current Time: Sat May 17 21:42:56 EDT 2025

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

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

Back to the top