How to let Quick Outline differ from Outline? [message #1805879] |
Fri, 26 April 2019 07:35  |
Eclipse User |
|
|
|
Hi,
In my outline view, I insert nodes from related EObjects that are stored in different files, e.g., related entities. Those nodes themself might contain related nodes and so on, with the possibility of cycles. In the outline, this is not a problem with XText, as cleverly nodes are created lazily on demand only.
In the Quick Outline (Ctrl+O) however, the complete outline is constructed. This lets my application crash, as cycles in the node hierarchy lead to a stack overflow.
How can I let the Quick Outline differ from the Outline? My first idea was to inject a different QuickOutlinePopup Implementation, however unfortunately, this class is not Injected but created by an explicite new call. What would be the best way to do this?
To clarify: I would love to tell the MyDSLOutlineProvider to skip showing related entries when called from the QuickOutline.
Best wishes,
Konrad
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03381 seconds