Single editor for all concept properties Follow
Hi,
I have set of concepts and each one can have different properties of different types. I just want to implement single editor which can iterate over properties (similar to what we can do for children). Is it possible at all?
Please sign in to leave a comment.
Hi Vyacheslav,
A way to do this in MPS would be to use Editor Components (which you can add by right-clicking the editor aspect of a language and choosing them from the menu). Such editor components are reusable pieces of editor that you can reuse in the specific editors.
So if you have a set of common properties in a parent/base concept, then you can use an editor component to specify an editor for these properties and then you can choose this editor component in the normal editor language to plug it in as a reusable piece of editor in each of the child concepts.
Hope that helps.
Best regards,
Eugen