question about aditors

I have a concept A that has property a , and the concept B extending A that adds property b.

I have defined the editor for the concept A and want to define and editor for B that "extends" editor for A - in a sense that it needs to have all cells defined for A plus some cells for b. Is it somehow possible without crafting a complete editor for B from scratch?

0
1 comment
Avatar
Permanently deleted user

Igor Karpov wrote:

I have a concept A that has property a , and the concept B extending A that adds property b.

I have defined the editor for the concept A and want to define and editor for B that "extends" editor for A - in a sense that it needs to have all cells defined for A plus some cells for b. Is it somehow possible without crafting a complete editor for B from scratch?

EditorLanguage has concept EditorComponentDeclaration in that you can

move common part of editor. You can see samples of its usages in

jetbrains.mps.baseLanguage language editor.

0

Please sign in to leave a comment.