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.
Talk:FAQ How do I create an Outline view for my own language editor?
Revision as of 03:38, 21 June 2012 by Willem.duminy.gmail.com (Talk | contribs) (New page: I think there is no need to keep the page reference ... the framework calls this method only once:<br> <br>public Object getAdapter(Class required) {<br>  ...)
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);
}