Skip to content

Commit

Permalink
add plantuml support to distribution (#128)
Browse files Browse the repository at this point in the history
* safety.distribution: added PlantUml to "New FASTEN Root" menu
* overall: moved basic editor component "HeaderComponent" from "com.mbeddr.formal.base" to "com.mpsbasics.core"
* safety: added dependency to symo to the Project Library
* a small example about the plantuml integration
  • Loading branch information
danielratiu authored Jan 3, 2025
1 parent 7cdffde commit bee21f9
Show file tree
Hide file tree
Showing 115 changed files with 2,556 additions and 1,280 deletions.
1 change: 1 addition & 0 deletions code/languages/com.fasten.symo/.mps/modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<project version="4">
<component name="MPSProject">
<projectModules>
<modulePath path="$PROJECT_DIR$/devkits/fasten.symo.plantuml/fasten.symo.plantuml.devkit" folder="plantuml" />
<modulePath path="$PROJECT_DIR$/languages/com.fasten.symo.hw/com.fasten.symo.hw.mpl" folder="" />
<modulePath path="$PROJECT_DIR$/languages/com.symo.plantuml/com.symo.plantuml.mpl" folder="plantuml" />
<modulePath path="$PROJECT_DIR$/languages/com.symo.sysml.ibd/com.symo.sysml.ibd.mpl" folder="" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<dev-kit name="fasten.symo.plantuml" uuid="114acb95-50b2-4e9b-81c6-e0c665740eae">
<exported-language name="6f31bc85-cbcc-4dcf-ada4-35da43e6832c(com.symo.plantuml)" />
<exported-solutions>
<exported-solution>377bf088-4ffc-48ac-910f-fb1c66ffa60e(com.symo.plantuml.lib)</exported-solution>
</exported-solutions>
</dev-kit>

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<dependencies>
<dependency reexport="false">83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base)</dependency>
<dependency reexport="true">1144260c-e9a5-49a2-9add-39a1a1a7077e(de.itemis.mps.editor.diagram.runtime)</dependency>
<dependency reexport="false">792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core)</dependency>
</dependencies>
<languageVersions>
<language slang="l:fa13cc63-c476-4d46-9c96-d53670abe7bc:de.itemis.mps.editor.diagram" version="1" />
Expand Down Expand Up @@ -60,6 +61,7 @@
<module reference="742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform)" version="0" />
<module reference="c2f3ae03-6a71-4e2a-88c9-c9e6eb4e20fa(com.fasten.symo.hw)" version="0" />
<module reference="83ed2dfe-f724-46cc-852a-dce086daee3f(com.mbeddr.formal.base)" version="0" />
<module reference="792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core)" version="0" />
<module reference="848ef45d-e560-4e35-853c-f35a64cc135c(de.itemis.mps.editor.celllayout.runtime)" version="0" />
<module reference="24c96a96-b7a1-4f30-82da-0f8e279a2661(de.itemis.mps.editor.celllayout.styles)" version="0" />
<module reference="7b45fa94-2707-4a1a-9e6a-ce40c4aaf35a(de.itemis.mps.editor.collapsible.runtime)" version="0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<imports>
<import index="xnej" ref="r:bff9a19b-7e5d-44c3-8cfc-aec191022422(com.mbeddr.formal.base.editor)" />
<import index="nkm5" ref="r:095345ad-6627-42ca-9d3f-fc1b2d9fbd61(de.itemis.mps.editor.diagram.runtime.model)" />
<import index="1ks0" ref="r:3f04aa5b-eee7-48ea-a2c7-fc975c7f8656(com.mpsbasics.core.editor)" />
<import index="osta" ref="r:20be8470-9022-48a8-b125-64f3bb097af5(com.fasten.symo.hw.structure)" implicit="true" />
<import index="tpck" ref="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" implicit="true" />
<import index="wyt6" ref="6354ebe7-c22a-4a0f-ac54-50b52ab9b065/java:java.lang(JDK/)" implicit="true" />
Expand Down Expand Up @@ -210,7 +211,7 @@
<ref role="1XX52x" to="osta:2gpUZARgYrl" resolve="PlatformArchitecture" />
<node concept="3EZMnI" id="2gpUZARgYI6" role="2wV5jI">
<node concept="PMmxH" id="2gpUZARgZ67" role="3EZMnx">
<ref role="PMmxG" to="xnej:4gtLUSMLjsp" resolve="HeaderComponent" />
<ref role="PMmxG" to="1ks0:4gtLUSMLjsp" resolve="HeaderComponent" />
</node>
<node concept="3F0ifn" id="2gpUZARgZdH" role="3EZMnx" />
<node concept="27vDVx" id="2gpUZARgZlo" role="3EZMnx">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<dependency reexport="false">1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor)</dependency>
<dependency reexport="false">c7fb639f-be78-4307-89b0-b5959c3fa8c8(jetbrains.mps.lang.text)</dependency>
<dependency reexport="false">6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)</dependency>
<dependency reexport="false">792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core)</dependency>
</dependencies>
<languageVersions>
<language slang="l:9d69e719-78c8-4286-90db-fb19c107d049:com.mbeddr.mpsutil.grammarcells" version="2" />
Expand Down Expand Up @@ -107,6 +108,7 @@
<module reference="498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA)" version="0" />
<module reference="8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI)" version="0" />
<module reference="742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform)" version="0" />
<module reference="792be022-0a7a-4b28-bfd8-b1b2d347b772(com.mpsbasics.core)" version="0" />
<module reference="6f31bc85-cbcc-4dcf-ada4-35da43e6832c(com.symo.plantuml)" version="0" />
<module reference="377bf088-4ffc-48ac-910f-fb1c66ffa60e(com.symo.plantuml.lib)" version="0" />
<module reference="848ef45d-e560-4e35-853c-f35a64cc135c(de.itemis.mps.editor.celllayout.runtime)" version="0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@
</node>
<node concept="3clFbF" id="1I7wo92WWdt" role="3cqZAp">
<node concept="37vLTw" id="7ikA1GKvxTY" role="3clFbG">
<ref role="3cqZAo" node="7ikA1GKvxTS" resolve="string" />
<ref role="3cqZAo" node="7ikA1GKvxTS" resolve="basicComponent" />
</node>
</node>
</node>
Expand Down Expand Up @@ -1018,7 +1018,7 @@
</node>
<node concept="3clFbF" id="6CyxyHi8x6k" role="3cqZAp">
<node concept="37vLTw" id="6CyxyHid7Lu" role="3clFbG">
<ref role="3cqZAo" node="6CyxyHid7Lo" resolve="string" />
<ref role="3cqZAo" node="6CyxyHid7Lo" resolve="str" />
</node>
</node>
</node>
Expand Down Expand Up @@ -1100,7 +1100,7 @@
</node>
<node concept="3clFbF" id="6CyxyHibNO0" role="3cqZAp">
<node concept="37vLTw" id="6CyxyHibOkE" role="3clFbG">
<ref role="3cqZAo" node="6CyxyHibOkC" resolve="string" />
<ref role="3cqZAo" node="6CyxyHibOkC" resolve="str" />
</node>
</node>
</node>
Expand Down Expand Up @@ -1239,7 +1239,7 @@
</node>
</node>
<node concept="WFELt" id="6BNnCp_pDwM" role="2OqNvi">
<ref role="1A0vxQ" to="udwj:1I7wo92VgAs" resolve="StartUmlCommand" />
<ref role="1A0vxQ" to="udwj:1I7wo92VgG3" resolve="EndUmlCommand" />
</node>
</node>
</node>
Expand Down
Loading

0 comments on commit bee21f9

Please sign in to comment.