Class HandlyXtextOutlinePage

  • All Implemented Interfaces:
    IContentAdapterProvider, ICommonOutlinePage, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage, org.eclipse.ui.views.contentoutline.IContentOutlinePage, org.eclipse.xtext.ui.editor.IXtextEditorAware

    public abstract class HandlyXtextOutlinePage
    extends HandlyOutlinePage
    implements org.eclipse.xtext.ui.editor.IXtextEditorAware
    A partial implementation of Handly-based outline page for Xtext editor.

    Note that this class relies on the language-specific implementation of IInputElementProvider being available through injection. The activation of linking with editor and lexical sorting for the outline is governed by the injected LinkWithEditorPreference and LexicalSortPreference.

    • Constructor Detail

      • HandlyXtextOutlinePage

        public HandlyXtextOutlinePage()
    • Method Detail

      • setInputElementProvider

        @Inject
        public void setInputElementProvider​(IInputElementProvider provider)
      • setEditor

        public void setEditor​(org.eclipse.xtext.ui.editor.XtextEditor editor)
        Specified by:
        setEditor in interface org.eclipse.xtext.ui.editor.IXtextEditorAware