From 6c5a6e1e1c188d5606e40c0aee325eb1c7e353c1 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 29 Jul 2024 12:47:48 +0200 Subject: [PATCH 1/3] editor.diagram: fix the style generation for edges --- .../de.itemis.mps.editor.diagram.mpl | 7 +- .../generator/template/main@generator.mps | 443 +++++++++++++++++- 2 files changed, 445 insertions(+), 5 deletions(-) diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/de.itemis.mps.editor.diagram.mpl b/code/diagram/languages/de.itemis.mps.editor.diagram/de.itemis.mps.editor.diagram.mpl index 0415c266f..0c914d58e 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/de.itemis.mps.editor.diagram.mpl +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/de.itemis.mps.editor.diagram.mpl @@ -14,7 +14,7 @@ - + @@ -30,13 +30,15 @@ 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) 1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor) 1144260c-e9a5-49a2-9add-39a1a1a7077e(de.itemis.mps.editor.diagram.runtime) - 2d3c70e9-aab2-4870-8d8d-6036800e4103(jetbrains.mps.kernel) 18bc6592-03a6-4e29-a83a-7ff23bde13ba(jetbrains.mps.lang.editor) 7866978e-a0f0-4cc7-81bc-4d213d9375e1(jetbrains.mps.lang.smodel) a150150e-46ee-4c9e-b080-08d136e4eefb(jetbrains.mps.baseLanguage.tuples#1238919486295) 2e24a298-44d1-4697-baec-5c424fed3a3b(jetbrains.mps.editorlang.runtime) b1ab8c10-c118-4755-bf2a-cebab35cf533(jetbrains.mps.lang.editor.tooltips) 0647eca7-da98-422a-8a8b-6ebc0bd014ea(jetbrains.mps.lang.editor#1129914002149) + 2bdcefec-ba49-4b32-ab50-ebc7a41d5090(jetbrains.mps.lang.smodel#1139186730696) + c72da2b9-7cce-4447-8389-f407dc1158b7(jetbrains.mps.lang.structure) + ceab5195-25ea-4f22-9b92-103b95ca8c0c(jetbrains.mps.lang.core) @@ -100,6 +102,7 @@ + diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps index ea5ba1a8b..15c3d36e5 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps @@ -66,10 +66,9 @@ - + - @@ -135,6 +134,7 @@ + @@ -493,6 +493,12 @@ + + + + + + @@ -9588,7 +9594,7 @@ - + @@ -9688,6 +9694,16 @@ + + + + + + + + + + @@ -25058,5 +25074,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 4544a006108b2f84d9e9681f2371fbe6d71d6957 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Tue, 30 Jul 2024 07:35:04 +0200 Subject: [PATCH 2/3] editor.diagram: add a missing null check --- .../generator/template/main@generator.mps | 61 ++++++++++++------- 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps index 15c3d36e5..ac651a23e 100644 --- a/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps +++ b/code/diagram/languages/de.itemis.mps.editor.diagram/generator/template/main@generator.mps @@ -2645,36 +2645,51 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - + + + + + + + + + + + From 183a38529ecb0e7eb78aacd68a45980ae36bd238 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Tue, 30 Jul 2024 09:25:25 +0200 Subject: [PATCH 3/3] update the build script --- .../models/de.itemis.mps.extensions.build.mps | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps index 3d39d9162..5690e30be 100644 --- a/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps +++ b/code/build/solutions/de.itemis.mps.extensions.build/models/de.itemis.mps.extensions.build.mps @@ -5749,11 +5749,6 @@ - - - - - @@ -5812,6 +5807,21 @@ + + + + + + + + + + + + + + +