- Get an
Eclipse Modeling Tools
for your operating system from https://www.eclipse.org/downloads/packages/ - Install all Sirius and Xtext Components via
Help
->Install New Software...
. In the corresponding wizard, select, e.g.,Latest Eclipse Simultaneous Release
in the topmost dropdown box. After loading has finished, type inSirius
and simply select and install all the resulting components. Do the same with typingXtext
and install the "Xtext Complete SDK". - Pull this repo and import all the projects in the folder
plugins
. Best done directly in the Eclipse Git perspective (open via, e.g.,Window
->Perspective
->Open Perspective
->Git
), but you can also pull the repo in a different way and then import the projects. - Create an empty folder
src
for the projectse.gu.cse.idxse.bomi
via Right-click ->New
->Folder
. - In the project
se.gu.cse.idxse.bomi.text
, navigate to the filesrc/se.gu.cse.idxse.bomi.text/Bomi.xtext
. Generate the Xtext editor infrastructure by right-clickingBomi.xtext
and selectingRun as
->Generate Xtext Artifacts
(ignore the warning that there are errors in the project, because the errors will get removed after the code generation).
- Right-click one of the projects in the development workspace and select
Run
->Run As
->Eclipse Application
. This launches the Eclipse runtime with an empty runtime workspace. - If a dark theme is applied: For a better representation, switch the dark theme to a bright one via
Window
->Preferences
->General
->Appearance
. UnderTheme
, switch toClassic
orLight
.
- From the folder
examples
in this repository, import the projectse.gu.cse.idxse.bomi.examples
. - Open the file
CompanyA_UserStories.aird
by double-clicking it. UnderRepresentations
, you can find diagrams for all BOMI view types that you can now explore. The actual BOMI model is persisted in the fileCompanyA_UserStories.bomi
.
- Create a new general project (
File
->New
->Project...
->General
->Project
). - In this project, create a new .bomi file (
File
->New
->File
). Say "OK" on the prompt when asked whether the project should be converted to an Xtext project. - In the project, create a representation file (right-click
.bomi
file ->Representations File
).- In the wizard, select
Initialization from a semantic resource
- Finish the wizard by creating an
.aird
file.
- In the wizard, select
- Open the
.aird
file by double-clicking it. In the middle, selectBOMI Detailed Diagram
and create a new diagram viaNew...
and complete the subsequent wizard. - The empty BOMI editor opens. Create new nodes and edges by using the palette on the right-hand side, and fill out the details with the property editor in the bottom.