Skip to main content

Model Basics

EditorModelExtension​

Within an EditorModelExtension you can customize how the model is represented, displayed, and interacted with within the µRadiant.

There are three major conceptual parts in the EditorModelExtension:

  • ElementDetailComponent: define the user interface for displaying and modifying the properties of a selected model element. This is where users interact with the specific attributes and relationships of an element.
  • ElementTreeNode & ElementTreeList: responsible for defining how elements in your model are represented within the editor's tree view.
  • EditorActions: a definition of the operations that can be done on the elementClasses of your metamodel (e.g. create & delete).

These concepts are composites of the EditorModelExtension as can be seen on the diagram. They describe the following panels of a plugin:

EditorModelExtension Editor Actions