4

Do you know Ecore? Looking for a reference card?

 1 year ago
source link: https://cedric.brun.io/eclipse/emf-ecore-reference-card/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

โ€œ๐ธ๐‘ฃ๐‘’๐‘Ÿ๐‘ฆ๐‘กโ„Ž๐‘–๐‘›๐‘” ๐‘ โ„Ž๐‘œ๐‘ข๐‘™๐‘‘ ๐‘๐‘’ ๐‘š๐‘Ž๐‘‘๐‘’ ๐‘Ž๐‘  ๐‘ ๐‘–๐‘š๐‘๐‘™๐‘’ ๐‘Ž๐‘  ๐‘๐‘œ๐‘ ๐‘ ๐‘–๐‘๐‘™๐‘’, ๐‘๐‘ข๐‘ก ๐‘›๐‘œ๐‘ก ๐‘ ๐‘–๐‘š๐‘๐‘™๐‘’๐‘Ÿโ€ probably was one of the mantra the Eclipse Modeling Framework team (Ed Merks, Marcelo Paternostro, Dave Steinberg among othersโ€ฆ) sticked to when the created the core concepts which would allow the definition of all the others tools.

Ecore is a kernel, you define your domain specific model using these constructs. It boils down to classes, types, attributes and relationships, yet there is a lot of beauty in the way it has been designed and we can safely say it passed the test of time. In 2016 I tried to condensed all of it in a single reference card. I did not finished it to the point of publishing it but Iโ€™m doing it today (better late than never!)

Ecore_reference_card.png
Ecore Reference Card

To produce it I exclusively used Open-Source tools :

  • Ecore Tools: Ecore diagraming editor built on top of Eclipse Sirius ,
  • Inkscape : one of my favorite OSS tool to produce vector graphics.

I created 4 distincts diagrams from the Ecore.ecore model, then used the โ€œExport as Imageโ€ feature of Sirius to get SVG files out of it. I dragged and dropped those file in Inkscape, scaled, composed a bit, and voilร  ! Here is the refcard.

You can decorate your office now ;) Hope you enjoy


Do you know Ecore? Looking for a reference card? was published on February 09, 2023.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK