Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sirius-based notation

  • Create a generic Eclipse project with the Emfatic metamodel
    • Name the project after your metamodel (e.g. if the filename of your metamodel is sdl.emf, name the project sdl)
  • Generate the .ecore file from the Emfatic metamodel, and use it to generate the model, edit, and editor plugins
    • For detailed steps, check the recording of the second lecture of Week 6 (“The Eclipse Modeling Framework”)
  • Define a Sirius graphical editor following the steps in the Sirius lectures on Week 7
  • Run a nested Eclipse instance
    • Right-click on your project and select Run as -> Eclipse Application
  • Create a model using your Sirius-based editor in the nested workspace

Example editors

Below are three Sirius-based editors from which you can draw inspiration.

Call Centre Language

GitHub repository: https://github.com/uoy-cs-eng2/callcentre-sirius

Project Scheduling Language

GitHub repository: https://github.com/uoy-cs-eng2/psl-sirius

Docker Network Language

GitHub repository: https://github.com/uoy-cs-eng2/docker-network-diagrams

Sirius documentation

For additional resources, please check the links at the end of the Sirius lecture.