Skip to main content

EditorModelExtension

The metamodel of the plugin can be found here. The concepts defined within an EditorModelExtension are listed here:

Within an EditorModelExtension you can customize how the model is represented, displayed, and interacted with within the µRadiant. Each extension is declared in it's own XML file, containing all components that it exists of.

Extensions are defined in XML files located within the model/extensions/ directory of your plugin. Each extension is declared in its own XML file:

model/
plugin.xml
extensions/
elements.xml
application-project.xml
prime-diagrams.xml

Each extension file starts with the <editorModelExtension> root element and specifies a unique name:

<editorModelExtension xmlns="https://schemas.normalizedsystems.org/xsd/editorElements/4/0/0">
<name>elements</name>
</editorModelExtension>

The following documentation pages will go over all concepts defined within an EditorModelExtension.

  • First, the basics (ElementDetailComponent, ElementTreeNode, EditorAction),
  • followed by more in-depth concepts (DiagramComponent, Activation, Command, EditorTask).
  • Lastly, the more broad concept of project views.