How to create outline view for editor in Eclipse?

2019-04-12 02:16发布

问题:

I have an custom editor created in eclipse, the outline view for this shows outline not available. I tried searching about this and I found the following links:

FAQ How do I create an Outline view for my own language editor?

Platform Plug-in Developer Guide > Programmer's Guide > Editors - Content outliners

How to create an Outline View?

But none of them seemed to work for me. I May be doing it completely wrong; how do I create an outline view for the editor I created?