From c3285c8027f44d93d3baf3e6774c25756df359c0 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Wed, 7 Feb 2024 19:15:49 +0100 Subject: [PATCH 1/4] NodeRangeSelectionHandler: compare the containing links of the start and end node directly --- .../de/itemis/mps/selection/runtime/mouse.mps | 33 ++++++------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/code/mouseselection/solutions/de.itemis.mps.selection.runtime/models/de/itemis/mps/selection/runtime/mouse.mps b/code/mouseselection/solutions/de.itemis.mps.selection.runtime/models/de/itemis/mps/selection/runtime/mouse.mps index 007031f69..85bbd3840 100644 --- a/code/mouseselection/solutions/de.itemis.mps.selection.runtime/models/de/itemis/mps/selection/runtime/mouse.mps +++ b/code/mouseselection/solutions/de.itemis.mps.selection.runtime/models/de/itemis/mps/selection/runtime/mouse.mps @@ -25,7 +25,6 @@ - @@ -98,6 +97,7 @@ + @@ -209,9 +209,6 @@ - - - @@ -2634,28 +2631,18 @@ - - - - - - - - - - + + + + + - - - - - - - - - + + + + From 3954bdbe347bac0aee6f700d1e78a00133be8e24 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Fri, 9 Feb 2024 09:47:38 +0100 Subject: [PATCH 2/4] projectview: register custom project in the AbstractProjectViewPane extension point --- .../mbeddr/mpsutil/projectview/runtime.mps | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime.mps b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime.mps index c1fd462b7..a5db7b019 100755 --- a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime.mps +++ b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime.mps @@ -28,6 +28,8 @@ + + @@ -7002,6 +7004,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7047,6 +7075,7 @@ + @@ -7127,6 +7156,29 @@ + + + + + + + + + + + + + + + + + + + + + + + From 1c15f622a566d08210b62dfdc340c24d686c76c3 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Fri, 9 Feb 2024 09:48:00 +0100 Subject: [PATCH 3/4] projectview: don't throw an exception when the tree is not set --- .../mpsutil/projectview/runtime/tree.mps | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps index 5c35af237..c6644c693 100755 --- a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps +++ b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps @@ -169,9 +169,6 @@ - - - @@ -8824,26 +8821,6 @@ - - - - - - - - - - - - - - - - - - - - From c819993861bfa068c766945360dcefb8338fc1ce Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Fri, 9 Feb 2024 09:51:16 +0100 Subject: [PATCH 4/4] projectview: fix another NullPointerException --- .../mpsutil/projectview/runtime/tree.mps | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps index c6644c693..0ef819ba7 100755 --- a/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps +++ b/code/projectview/com.mbeddr.mpsutil.projectview.runtime/models/com/mbeddr/mpsutil/projectview/runtime/tree.mps @@ -8863,11 +8863,33 @@ + + + + + + + + + + + + + + + + + + + + + + - - + +