Skip to content
Snippets Groups Projects
Commit 9e8fff5f authored by Sebastian Krings's avatar Sebastian Krings
Browse files

add unit pragma text field to rodin database

parent 6da39164
No related branches found
No related tags found
No related merge requests found
......@@ -23,4 +23,12 @@
class="de.prob.core.StaticListenerRegistry">
</listener>
</extension>
<extension
point="org.rodinp.core.attributeTypes">
<attributeType
id="unitPragma"
kind="string"
name="Content of a unit Pragma to send to ProB">
</attributeType>
</extension>
</plugin>
......@@ -1195,4 +1195,21 @@
</variable>
</sourceProvider>
</extension>
<extension
point="org.eventb.ui.editorItems">
<textAttribute
class="de.prob.ui.pragmas.UnitPragma"
expandsHorizontally="true"
id="de.prob.ui.unitPragma"
isMath="true"
style="de.prob.ui.unitPragma"
typeId="de.prob.core.unitPragma">
</textAttribute>
<attributeRelation
elementTypeId="org.eventb.core.event">
<attributeReference
descriptionId="de.prob.ui.unitPragma">
</attributeReference>
</attributeRelation>
</extension>
</plugin>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment