The custom aspects implemented in 3.3 is nice, and the cookbook is pretty good to show how to access the runtime of the a new custom aspect.

I am wondering how to access root nodes of the aspect from other aspects. For instance, in the editor, I want to reference root nodes defined in a custom aspect of the same language.How would I get a reference to the source of the custom aspect, not its runtime?

More specifically, I have:

Language

- editor aspect

editor cell model here I need to reference R1. Not sure how to write the scope to show only root nodes of a certain kind in the custom aspect.

Thanks for the pointer Mihail. I am trying to do this inside a constraint aspect or behavior of a language that extends the editor language (EditorCellModel sub-concept). When I try the code fragment you suggested, I am not able to do this: