Jump to: navigation, search

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

Revision as of 02:38, 21 June 2012 by Willem.duminy.gmail.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I think there is no need to keep the page reference ... the framework calls this method only once:
public Object getAdapter(Class required) {
      if (IContentOutlinePage.class.equals(required))
            return new CoolLanguageContentOutlinePage(getEditorInput());
      return super.getAdapter(required);