hierarchical tree structure and editing

I have such a structure

Folder A
-> Page p
-> Page q
Folder B
-> Page r
-> Folder M
-> Page mi
-> Page s

I want to be able to edit all pages. Is this possible? I think this is a very common editor use case. First I tried to implement this structure in the logical view. But the logical view does not support such a hierarchy. Then I tried to implement the structure with a "structuring" language that looks exactly like above. But then Page is not a root concept and I cannot open the editors.

Is it possible to implement this?

Comment actions Permalink

Yes, it's possible in general. What specifically are you having trouble with?

Comment actions Permalink

What you might find useful is the custom project view DSL from mbeddr, see com.mbeddr.mpsutil.projectview language and this node for example.

Comment actions Permalink

I already have trouble starting correctly.

I have a root concept. That root concept contains two folder concepts A and B. Each of them contain page concepts or other folder concepts.

The result is that everything is in one big editor. My whole project is only one big concept editor. But I want to use the project view. I have loaded the projectview language from mbeddr. I spend very long to try understand how this should work but still have no idea.

Comment actions Permalink

I also see the node ByConcept in MPS that you showed me with the link. But I have no idea how to create and enable such a LogicalViewClone.


Please sign in to leave a comment.