From c8549597a9c8b3077b2399a885eae869e9961ce9 Mon Sep 17 00:00:00 2001 From: Artem Tikhomirov Date: Wed, 14 Aug 2024 15:52:52 +0300 Subject: [PATCH] hacks.editor: EditorExtensionRegistry is now CC to access IDEA's Component and MPS CoreComponent in uniform way, use MPSProject.getComponent() --- .../models/de/slisson/mps/hacks/editor.mps | 95 +++++++++++++++---- .../de/itemis/mps/tooltips/runtime/plugin.mps | 27 ------ 2 files changed, 78 insertions(+), 44 deletions(-) diff --git a/code/hacks/solutions/de.slisson.mps.hacks.editor/models/de/slisson/mps/hacks/editor.mps b/code/hacks/solutions/de.slisson.mps.hacks.editor/models/de/slisson/mps/hacks/editor.mps index 330fe1084..cbbf60074 100644 --- a/code/hacks/solutions/de.slisson.mps.hacks.editor/models/de/slisson/mps/hacks/editor.mps +++ b/code/hacks/solutions/de.slisson.mps.hacks.editor/models/de/slisson/mps/hacks/editor.mps @@ -847,10 +847,10 @@ - + - + @@ -858,14 +858,14 @@ - - - - - - + + + + + + @@ -882,12 +882,12 @@ - - - - - - + + + + + + @@ -999,12 +999,73 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1012,7 +1073,7 @@ - + @@ -1039,7 +1100,7 @@ - + diff --git a/code/tooltips/solutions/de.itemis.mps.tooltips.runtime/models/de/itemis/mps/tooltips/runtime/plugin.mps b/code/tooltips/solutions/de.itemis.mps.tooltips.runtime/models/de/itemis/mps/tooltips/runtime/plugin.mps index b382be0af..2e580da51 100644 --- a/code/tooltips/solutions/de.itemis.mps.tooltips.runtime/models/de/itemis/mps/tooltips/runtime/plugin.mps +++ b/code/tooltips/solutions/de.itemis.mps.tooltips.runtime/models/de/itemis/mps/tooltips/runtime/plugin.mps @@ -51,9 +51,6 @@ - - - @@ -80,10 +77,6 @@ - - - - @@ -133,13 +126,6 @@ - - - - - - - @@ -149,19 +135,6 @@ - - - - - - - - - - - - -