It’s been a while since my last Eclipse Sirius post but this year we Get Busy at Obeo with the preparation of the new Sirius release. It is a really important release for me as I am contributing For the very first time as an Eclipse commiter
I am really proud to be part of the Eclipse community and excited to meet her again at EclipseCon France. I hope you’ll join us to attend our talk Sirius 4.0: Let me Sirius that for you!
You already know that Sirius allows you to create So powerful graphical designers. With minimal efforts you can create a great modeler with a ready-to-use graphical editor providing a model explorer, a palette, a toolbar and contextual menus dedicated to your own DSL.
But when you create a dedicated designer after specifying the viewpoints, the mappings and the tools, the next step is most of the time to contribute dedicated properties views in order to ease data edition.
Thanks to the Eclipse modeling ecosystem, there are already several solutions to co...
A few weeks ago I ended up on the following thread on the EMF Forum asking for Ecore meta-model formal documentation?. Ed pointed at some documentation which includes diagrams done with great care but done with tools from another era.
As the maintainer of EcoreTools I had to do something about it, and so I did:
All participants in the Ecore Modeling Framework implement the EObject's interface
Tadaa!
The following diagrams have been created thanks to EcoreTools which is part of the Eclipse Modeling Package. All the hard work has been done earlier by Ed when he had to decide what to display and how, all I did is reproduce those using EcoreTools and exporting those at a fairly high resolution (click on the images to get the full resolution).
The corresponding patchset for EMF is here.
But beside this anecdotic action there is something interesting and more general in how these diagrams are presenting the Ecore.ecore model.
Ecore Components
Ed starts by diagramming the type hiera...
Nous sommes très heureux de vous annoncer la sortie de Sirius 3.1 !
Découvrez les dernières innovations cool de Sirius 3.1
Construisez de jolis diagrammes avec de nouvelles options graphiques, notamment grâce aux compartiments et aux styles de bordure personnalisés
Pour un rendu visuel plus réussi, téléchargez Sirius 3.1 et suivez notre tout nouveau tutorial !
@Obeo_Corp #EclipseSirius...
BPMN Designer 3.0 is out and this new version is running on Sirius. Now, this graphical designer based on the BPMN2 standard offers you a complete Open Source experience.
As our other open graphical designers, you can easily adapt or extend it according to your needs (for example to modify existing diagram types or to extend existing ones) but you can also integrate it into your own solution.
BPMN Designer can be downloaded for free from Obeo Marketplace....
Continuing the Sirius blog posts series, today we will see a small tip: how to create artificial containers in your diagram?
One of the main advantage of Sirius is that the graphical representations are independent from the metamodel’s structure. This means that you can choose to not respect the containment hierarchy of your model when you display it graphically. This is possible thanks to Sirius being based on queries.
In the following example, we define a metamodel of a family:
To begin with, we define a Flat diagram, which displays all the members of the family at the same level:
In the Person mapping, we use the Semantic Candidates Expression to provide which semantic elements must be represented. These expressions returning model elements are called queries. To write these queries, there are different languages provided by default in Sirius: specialized interpreters (var, feature, service), Acceleo, raw OCL or Java. Here, we use the feature interpreter to get for a f...