📘 EMF Model Viewer Guide
This repository contains an EMF (Eclipse Modeling Framework) model. Follow the instructions below to open and view it using Eclipse. 🛠Prerequisites
Eclipse IDE (preferably Eclipse Modeling Tools package)
EMF plugins installed (comes with the Modeling Tools package)
📂 Steps to Open the EMF Model
Clone or download this repository:
git clone https://github.com/your-username/your-repo.git
Open Eclipse and choose a workspace.
Import the project:
Go to File > Import...
Choose General > Existing Projects into Workspace
Select the root directory of the cloned repo
Click Finish
Locate the EMF model file (e.g., .ecore, .xmi, .genmodel)
Open the model:
Right-click the model file (.ecore, .xmi, etc.)
Choose Open With > Sample Reflective Ecore Model Editor
or Ecore Diagram Editor (if available)
🧠Tips
.ecore defines the structure of the model
.xmi contains instance data (objects created from the model)
.genmodel is used to generate Java code from the model
✅ Optional: Generate Code
If you have a .genmodel file and want to generate code:
Open the .genmodel file
Right-click the root node
Choose Generate Model, Edit, Editor, etc.