From fd16f74ea66dd45c6d486631433a000affc5f8ea Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Fri, 1 Mar 2024 22:35:29 +0100 Subject: [PATCH 1/5] Implement editor components with parameters --- CHANGELOG.md | 6 + .../models/de.itemis.mps.extensions.build.mps | 25 + ...e.itemis.mps.editor.celllayout.sandbox.msd | 4 + .../languageModels/editor.mps | 142 ++++- .../languageModels/structure.mps | 29 + .../de.slisson.mps.conditionalEditor.mpl | 7 + .../generator/template/main@generator.mps | 525 ++++++++++++++++++ .../languageModels/constraints.mps | 67 +++ .../languageModels/editor.mps | 412 ++++++++++++++ .../languageModels/structure.mps | 54 ++ .../languageModels/typesystem.mps | 272 +++++++++ .../slisson/mps/conditionalEditor/sandbox.mps | 4 + 12 files changed, 1546 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d80869ce..781bff467 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project are documented in this file. Format of the log is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project does _not_ follow Semantic Versioning and the changes are documented in reverse chronological order, grouped by calendar month. +## March 2024 + +### Added + +- de.slisson.mps.conditionalEditor: Support for editor components with parameters was added. + ## February 2024 ### Changed 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 58a5d5903..f08f912d7 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 @@ -4077,6 +4077,16 @@ + + + + + + + + + + @@ -4122,6 +4132,16 @@ + + + + + + + + + + @@ -19224,6 +19244,11 @@ + + + + + diff --git a/code/celllayout/solutions/de.itemis.mps.editor.celllayout.sandbox/de.itemis.mps.editor.celllayout.sandbox.msd b/code/celllayout/solutions/de.itemis.mps.editor.celllayout.sandbox/de.itemis.mps.editor.celllayout.sandbox.msd index af5627d30..1a8df2899 100644 --- a/code/celllayout/solutions/de.itemis.mps.editor.celllayout.sandbox/de.itemis.mps.editor.celllayout.sandbox.msd +++ b/code/celllayout/solutions/de.itemis.mps.editor.celllayout.sandbox/de.itemis.mps.editor.celllayout.sandbox.msd @@ -11,6 +11,9 @@ + + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + @@ -27,6 +30,7 @@ + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps index 1148a6ee2..0d14b9130 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps @@ -10,14 +10,23 @@ - + + + + + + + + + + @@ -112,6 +121,7 @@ + @@ -149,6 +159,20 @@ + + + + + + + + + + + + + + @@ -158,7 +182,21 @@ + + + + + + + + + + + + + + @@ -434,5 +472,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps index d4e070736..311f9ad24 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps @@ -8,6 +8,7 @@ + @@ -15,8 +16,14 @@ + + + + + + @@ -31,5 +38,27 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/de.slisson.mps.conditionalEditor.mpl b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/de.slisson.mps.conditionalEditor.mpl index 6bd4203f1..46f6e754f 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/de.slisson.mps.conditionalEditor.mpl +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/de.slisson.mps.conditionalEditor.mpl @@ -34,10 +34,13 @@ 18bc6592-03a6-4e29-a83a-7ff23bde13ba(jetbrains.mps.lang.editor) ceab5195-25ea-4f22-9b92-103b95ca8c0c(jetbrains.mps.lang.core) 5474e4cd-6621-4b33-a39a-75552543ba57(de.slisson.mps.conditionalEditor.hints) + 528ff3b9-5fc4-40dd-931f-c6ce3650640e(jetbrains.mps.lang.migration.runtime) + 2e24a298-44d1-4697-baec-5c424fed3a3b(jetbrains.mps.editorlang.runtime) + @@ -77,6 +80,7 @@ + @@ -84,6 +88,7 @@ + @@ -130,6 +135,8 @@ 13744753-c81f-424a-9c1b-cf8943bf4e86(jetbrains.mps.lang.sharedConcepts) c72da2b9-7cce-4447-8389-f407dc1158b7(jetbrains.mps.lang.structure) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) + 2d3c70e9-aab2-4870-8d8d-6036800e4103(jetbrains.mps.kernel) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps index 7179f8ac3..3cf64a6de 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps @@ -8,6 +8,7 @@ + @@ -23,9 +24,16 @@ + + + + + + + @@ -73,6 +81,7 @@ + @@ -94,6 +103,7 @@ + @@ -104,11 +114,16 @@ + + + + + @@ -171,6 +186,7 @@ + @@ -203,6 +219,7 @@ + @@ -222,6 +239,9 @@ + + + @@ -243,6 +263,8 @@ + + @@ -269,6 +291,12 @@ + + + + + + @@ -289,11 +317,17 @@ + + + + + + @@ -302,6 +336,10 @@ + + + + @@ -343,9 +381,13 @@ + + + + @@ -354,7 +396,9 @@ + + @@ -384,6 +428,21 @@ + + + + + + + + + + + + + + + @@ -1612,5 +1671,471 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps index b347d3a4c..a285e73b8 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps @@ -3,9 +3,11 @@ + + @@ -31,6 +33,9 @@ + + + @@ -62,6 +67,7 @@ + @@ -70,17 +76,26 @@ + + + + + + + + + @@ -252,5 +267,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps index 5113dc051..1dd7aafe4 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps @@ -4,17 +4,25 @@ + + + + + + + + @@ -25,10 +33,25 @@ + + + + + + + + + + + + + + + @@ -39,22 +62,42 @@ + + + + + + + + + + + + + + + + + + + + @@ -85,6 +128,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -346,5 +499,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps index 34e4b356a..a4b1d94cd 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps @@ -36,6 +36,7 @@ + @@ -128,5 +129,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps index fa9cabf42..08be126fd 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps @@ -15,10 +15,17 @@ + + + + + + + @@ -30,6 +37,7 @@ + @@ -54,6 +62,9 @@ + + + @@ -62,6 +73,7 @@ + @@ -76,13 +88,24 @@ + + + + + + + + + + + @@ -121,15 +144,28 @@ + + + + + + + + + + + + + @@ -139,12 +175,22 @@ + + + + + + + + + + @@ -391,5 +437,231 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps b/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps index 8fc1f1848..460a5ebdc 100644 --- a/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps +++ b/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps @@ -91,6 +91,8 @@ + + @@ -172,5 +174,7 @@ + + From 1e785451eea54a330d8a8ac5fa92ff1f463f2216 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Sun, 3 Mar 2024 21:10:35 +0100 Subject: [PATCH 2/5] Test with lambda --- .../languageModels/editor.mps | 162 +++++++++++++++++- 1 file changed, 158 insertions(+), 4 deletions(-) diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps index 0d14b9130..ca8b99ea9 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps @@ -11,10 +11,14 @@ - - - - + + + + + + + + @@ -95,10 +99,20 @@ + + + + + + + + + + @@ -106,6 +120,9 @@ + + + @@ -118,6 +135,9 @@ + + + @@ -129,6 +149,12 @@ + + + + + + @@ -139,13 +165,22 @@ + + + + + + + + + @@ -153,7 +188,13 @@ + + + + + + @@ -477,6 +518,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -529,6 +607,12 @@ + + + + + + @@ -550,6 +634,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -572,7 +686,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ccacf5753c3871350c33b2a05a6770ba51b8df95 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 4 Mar 2024 20:00:23 +0100 Subject: [PATCH 3/5] Only allow base variable declarations --- .../languageModels/editor.mps | 33 +++++++++---- .../languageModels/constraints.mps | 49 +++++++++++++++++++ 2 files changed, 73 insertions(+), 9 deletions(-) diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps index ca8b99ea9..f2e073044 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps @@ -138,6 +138,13 @@ + + + + + + + @@ -194,6 +201,7 @@ + @@ -541,7 +549,7 @@ - + @@ -570,7 +578,7 @@ - + @@ -599,9 +607,9 @@ - + - + @@ -640,7 +648,7 @@ - + @@ -648,7 +656,7 @@ - + @@ -658,9 +666,10 @@ - + + @@ -700,7 +709,7 @@ - + @@ -711,6 +720,7 @@ + @@ -721,12 +731,17 @@ - + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps index a285e73b8..3471ed4ce 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps @@ -12,6 +12,7 @@ + @@ -43,6 +44,7 @@ + @@ -50,6 +52,7 @@ + @@ -57,6 +60,9 @@ + + + @@ -79,6 +85,8 @@ + + @@ -107,11 +115,18 @@ + + + + + + + @@ -319,5 +334,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 4dd3064f714a900a53fefd3eb56f3cb540b254c8 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 4 Mar 2024 20:25:00 +0100 Subject: [PATCH 4/5] Improve the editors a bit --- .../languageModels/editor.mps | 294 ++++++++++++++++-- 1 file changed, 263 insertions(+), 31 deletions(-) diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps index 1dd7aafe4..788c17773 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps @@ -24,7 +24,9 @@ - + + + @@ -34,6 +36,10 @@ + + + + @@ -45,6 +51,7 @@ + @@ -96,7 +103,6 @@ - @@ -109,12 +115,14 @@ + + @@ -501,23 +509,227 @@ - - - - + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -564,22 +776,6 @@ - - - - - - - - - - - - - - - - @@ -589,6 +785,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 00373d06c6516aa88a3c7e1cb6d8a116df369f89 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 4 Mar 2024 21:48:46 +0100 Subject: [PATCH 5/5] Use concept functions for the arguments --- .../languageModels/editor.mps | 299 +++++++++------ .../languageModels/structure.mps | 7 +- .../generator/template/main@generator.mps | 163 +++++++- .../languageModels/behavior.mps | 59 +++ .../languageModels/constraints.mps | 37 ++ .../languageModels/editor.mps | 160 ++++++-- .../languageModels/structure.mps | 13 +- .../languageModels/typesystem.mps | 360 ++++++++++++++++-- .../slisson/mps/conditionalEditor/sandbox.mps | 8 +- 9 files changed, 939 insertions(+), 167 deletions(-) diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps index f2e073044..3ca5d420b 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/editor.mps @@ -19,6 +19,7 @@ + @@ -38,6 +39,9 @@ + + + @@ -76,6 +80,9 @@ + + + @@ -83,6 +90,7 @@ + @@ -92,6 +100,7 @@ + @@ -208,20 +217,6 @@ - - - - - - - - - - - - - - @@ -231,18 +226,10 @@ - - - - - - - - - + + - @@ -571,17 +558,11 @@ - - - - - - - - - + + + - + @@ -606,10 +587,28 @@ + + + + + + + + + + + + + + + + - + + + @@ -621,106 +620,190 @@ + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + - diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps index 311f9ad24..69b6aaadd 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor.demolang/languageModels/structure.mps @@ -16,7 +16,9 @@ - + + + @@ -59,6 +61,9 @@ + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps index 3cf64a6de..00d56a480 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/generator/template/main@generator.mps @@ -34,6 +34,7 @@ + @@ -217,6 +218,7 @@ + @@ -236,6 +238,10 @@ + + + + @@ -256,6 +262,9 @@ + + + @@ -298,6 +307,10 @@ + + + + @@ -405,6 +418,11 @@ + + + + + @@ -1937,7 +1955,7 @@ - + @@ -2032,17 +2050,31 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -2134,6 +2166,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/behavior.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/behavior.mps index e9997b919..8abea518b 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/behavior.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/behavior.mps @@ -25,6 +25,7 @@ + @@ -83,6 +84,9 @@ + + + @@ -97,6 +101,7 @@ + @@ -185,5 +190,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps index 3471ed4ce..9299fd9f8 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/constraints.mps @@ -368,5 +368,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps index 788c17773..f7da0edc7 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/editor.mps @@ -5,7 +5,7 @@ - + @@ -16,6 +16,7 @@ + @@ -27,8 +28,10 @@ + + @@ -36,10 +39,8 @@ - - @@ -103,6 +104,7 @@ + @@ -113,6 +115,9 @@ + + + @@ -132,6 +137,9 @@ + + + @@ -143,6 +151,9 @@ + + + @@ -181,6 +192,7 @@ + @@ -200,6 +212,22 @@ + + + + + + + + + + + + + + + + @@ -220,6 +248,9 @@ + + + @@ -232,6 +263,9 @@ + + + @@ -242,7 +276,12 @@ + + + + + @@ -791,31 +830,80 @@ - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - @@ -990,5 +1078,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps index a4b1d94cd..3dc952926 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/structure.mps @@ -171,7 +171,7 @@ - + @@ -182,5 +182,16 @@ + + + + + + + + + + + diff --git a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps index 08be126fd..f1b46ef06 100644 --- a/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps +++ b/code/conditional-editor/languages/de.slisson.mps.conditionalEditor/languageModels/typesystem.mps @@ -16,9 +16,17 @@ + + + + + + + + @@ -48,6 +56,7 @@ + @@ -55,7 +64,9 @@ + + @@ -109,6 +120,9 @@ + + + @@ -130,6 +144,7 @@ + @@ -162,6 +177,13 @@ + + + + + + + @@ -169,9 +191,17 @@ + + + + + + + + @@ -495,7 +525,7 @@ - + @@ -598,7 +628,7 @@ - + @@ -610,58 +640,338 @@ - - - - - - + + + + + + + - + - - - + + + - - + + - + - + - + + + + - - - + + + + + + + + + - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps b/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps index 460a5ebdc..f5ae16441 100644 --- a/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps +++ b/code/conditional-editor/solutions/de.slisson.mps.conditionalEditor.sandbox/models/de/slisson/mps/conditionalEditor/sandbox.mps @@ -174,7 +174,11 @@ - - + + + + + +