Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

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

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);
}

Copyright © Eclipse Foundation, Inc. All Rights Reserved.