List of cells shown on screen

Hey forum!

Is it possible to get a list of cells which are really shown on a screen (i.e. NOT the ones which are shown after scrolling down/up)?

Thank you in advance,

Best regards,

Josef

0
3 comments

Hi Josef,

can you reformulate your question a bit? It s quite hard for me to figure out what you meant? 

 

All the best,
Daniel

1

Hi Daniel,

I will give following example. Let's say, I have following root-node called TemporalCollectionTester. Its editor contains editor cells which could be split to two groups - A and B. All cells in group A are visible on the screen. In the other hand, all cells in group B are not visible to user (user needs to scroll to see them). After scrolling there will be different cells in both groups.

I am interested to know if there is a way how to get the information about which cells are in group A (visible on screen).

Thank you in advance.

Josef

 

0

Hi Josef,

 

okay i see. Well that is very much concerned about MPS editor internals. Maybe there is a way to access the editor itself via the open-api. 

 

However, there are many ways one can split things in MPS. Maybe one can concentrate more on the requirements and devise a different solution in mps. You could, e.g. introduce "groups" (a term you used) in a mps language which you can collapse in the mps editor (see the method collapse feature on the left of your screenshot)....

Furthermore, there are two editors out of the box available in MPS. The "Main" one and the Inspector. Both can be used within the mps editor lang.

Daniel 

0

Please sign in to leave a comment.