3

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?

OnoSendai
  • 3,960
  • 2
  • 22
  • 46
Destructor
  • 3,154
  • 7
  • 32
  • 51
  • 4
    Those links are correct, so you need to show us your code so we can diagnose the issue. – greg-449 Jan 17 '14 at 08:07
  • greg-499: The problem is I am not able to understand where exactly tell the editor to set this as outline. Like in 3rd link it says: layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.LEFT, 0.3f, layout.getEditorArea()); where do I use this?? – Destructor Jan 17 '14 at 08:18
  • That line is only needed if you are defining your own perspective. Stick to the `getAdapter` in the editor and the `ContentOutlinePage` – greg-449 Jan 17 '14 at 08:22
  • ok then. I will give it a try! – Destructor Jan 17 '14 at 08:32

0 Answers0