Any E4 Application is based on the application model, which is generated starting from an EMF Model.
This model is available in the project org.eclipse.e4.ui.model.workbench, hosted in the eclipse.platform.ui repository.
Open model>UIElements.ecore to see the EMF Model
The basic elements, like Part, CompositePart, InputPart, etc.. are defined under the basic package-node
If you open the UIElements.genmodel, you’ll see the actual genmodel for the Elements
You can generate the model starting from the EMF Metamodel.
After the generation, the generated classes and interfaces will be visible under the src folder.
As example, the interface MPart is under org.eclipse.ui.model.application.ui.basic, and the implementation PartImpl, is in the package org.eclipse.ui.model.application.ui.basic.impl
0 Comments