From f6ce145d55c55bcdf35b56147bf89d58641d0e53 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Thu, 5 Dec 2024 14:20:45 +0100 Subject: [PATCH 1/2] Revert "projectview: don't publish example views" This reverts commit 17583e2121d061e111e4f59dfda958d3d1f3dbf3. --- .../models/de.itemis.mps.extensions.build.mps | 95 +++++++++++++++++++ 1 file changed, 95 insertions(+) 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 042ed05f2..8cf495893 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 @@ -15336,6 +15336,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 2c01212713fe35f0145c427975a2dcc2034eab3f Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Thu, 5 Dec 2024 14:31:16 +0100 Subject: [PATCH 2/2] mpsutil.projectview: keep publishing the helper class --- code/.mps/modules.xml | 1 + .../models/de.itemis.mps.extensions.build.mps | 15 - .../com.mbeddr.mpsutil.projectview.demo.msd | 53 + ...mbeddr.mpsutil.projectview.demo.plugin.mps | 1168 +++++++++++++++++ .../com.mbeddr.mpsutil.projectview.views.msd | 9 +- .../mpsutil/projectview/views/plugin.mps | 1079 +-------------- docs/extensions/other/project-view.md | 2 +- 7 files changed, 1231 insertions(+), 1096 deletions(-) create mode 100644 code/projectview/com.mbeddr.mpsutil.projectview.demo/com.mbeddr.mpsutil.projectview.demo.msd create mode 100644 code/projectview/com.mbeddr.mpsutil.projectview.demo/models/com.mbeddr.mpsutil.projectview.demo.plugin.mps diff --git a/code/.mps/modules.xml b/code/.mps/modules.xml index e1bde166d..4796baa0f 100644 --- a/code/.mps/modules.xml +++ b/code/.mps/modules.xml @@ -129,6 +129,7 @@ + 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 8cf495893..f2125406f 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 @@ -15373,21 +15373,6 @@ - - - - - - - - - - - - - - - diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.demo/com.mbeddr.mpsutil.projectview.demo.msd b/code/projectview/com.mbeddr.mpsutil.projectview.demo/com.mbeddr.mpsutil.projectview.demo.msd new file mode 100644 index 000000000..c07649e6e --- /dev/null +++ b/code/projectview/com.mbeddr.mpsutil.projectview.demo/com.mbeddr.mpsutil.projectview.demo.msd @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + 742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform) + ceab5195-25ea-4f22-9b92-103b95ca8c0c(jetbrains.mps.lang.core) + b0f8641f-bd77-4421-8425-30d9088a82f7(org.apache.commons) + 86441d7a-e194-42da-81a5-2161ec62a379(MPS.Workbench) + 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) + 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) + c72da2b9-7cce-4447-8389-f407dc1158b7(jetbrains.mps.lang.structure) + 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) + 5c67d0a6-96e9-4056-be57-e594d54526b0(com.mbeddr.mpsutil.projectview.views) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.demo/models/com.mbeddr.mpsutil.projectview.demo.plugin.mps b/code/projectview/com.mbeddr.mpsutil.projectview.demo/models/com.mbeddr.mpsutil.projectview.demo.plugin.mps new file mode 100644 index 000000000..1bdecef05 --- /dev/null +++ b/code/projectview/com.mbeddr.mpsutil.projectview.demo/models/com.mbeddr.mpsutil.projectview.demo.plugin.mps @@ -0,0 +1,1168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.views/com.mbeddr.mpsutil.projectview.views.msd b/code/projectview/com.mbeddr.mpsutil.projectview.views/com.mbeddr.mpsutil.projectview.views.msd index 0d0dbe7c1..993fbd21e 100644 --- a/code/projectview/com.mbeddr.mpsutil.projectview.views/com.mbeddr.mpsutil.projectview.views.msd +++ b/code/projectview/com.mbeddr.mpsutil.projectview.views/com.mbeddr.mpsutil.projectview.views.msd @@ -1,7 +1,7 @@ - + @@ -11,14 +11,11 @@ - c72da2b9-7cce-4447-8389-f407dc1158b7(jetbrains.mps.lang.structure) 86441d7a-e194-42da-81a5-2161ec62a379(MPS.Workbench) 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) - 742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) b0f8641f-bd77-4421-8425-30d9088a82f7(org.apache.commons) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) - ceab5195-25ea-4f22-9b92-103b95ca8c0c(jetbrains.mps.lang.core) @@ -41,10 +38,6 @@ - - - - diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.views/models/com/mbeddr/mpsutil/projectview/views/plugin.mps b/code/projectview/com.mbeddr.mpsutil.projectview.views/models/com/mbeddr/mpsutil/projectview/views/plugin.mps index b98e1ddb2..6dcc13b42 100644 --- a/code/projectview/com.mbeddr.mpsutil.projectview.views/models/com/mbeddr/mpsutil/projectview/views/plugin.mps +++ b/code/projectview/com.mbeddr.mpsutil.projectview.views/models/com/mbeddr/mpsutil/projectview/views/plugin.mps @@ -10,26 +10,15 @@ - - - - - + - - - - - - - @@ -44,9 +33,6 @@ - - - @@ -58,17 +44,10 @@ - - - - - - - @@ -111,10 +90,6 @@ - - - - @@ -125,9 +100,6 @@ - - - @@ -169,62 +141,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -240,7 +156,6 @@ - @@ -252,15 +167,7 @@ - - - - - - - - @@ -270,984 +177,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1298,7 +233,7 @@ - + @@ -1315,7 +250,7 @@ - + @@ -1383,7 +318,7 @@ - + @@ -1641,14 +576,14 @@ - + - + @@ -1719,7 +654,7 @@ - + diff --git a/docs/extensions/other/project-view.md b/docs/extensions/other/project-view.md index 92d372a5e..90a18dfa7 100644 --- a/docs/extensions/other/project-view.md +++ b/docs/extensions/other/project-view.md @@ -10,7 +10,7 @@ The platform contains a DSL to describe the structure of arbitrary alternative t already provides a drop-down menu to select from various views, and the DSL can contribute additional ones. The DSL supports the definition of arbitrary structures, labels, icons and actions and also lets you add additional nodes -that are useful for structuring the tree. To see how this DSL works, checkout the custom views defined in `com.mbeddr.mpsutil.projectview.views` solution as well as the mbeddr favourites view in the `com.mbeddr.mpsutil.favourites.plugin` plugin solution. +that are useful for structuring the tree. To see how this DSL works, checkout the custom views defined in the `com.mbeddr.mpsutil.projectview.demo` solution as well as the mbeddr favourites view in the `com.mbeddr.mpsutil.favourites.plugin` plugin solution. Below is a screenshot of that favourites view. favourites view