public abstract class HandlyXtextOutlinePage extends HandlyOutlinePage implements org.eclipse.xtext.ui.editor.IXtextEditorAware
Note that this class relies on a language-specific implementation of
IInputElementProvider
being available through injection.
CommonOutlinePage.OutlineTreeViewer
Constructor and Description |
---|
HandlyXtextOutlinePage() |
Modifier and Type | Method and Description |
---|---|
protected IInputElementProvider |
getInputElementProvider() |
IBooleanPreference |
getLexicalSortPreference()
Returns lexical sort preference for this outline page.
|
IBooleanPreference |
getLinkWithEditorPreference()
Returns link-with-editor preference for this outline page.
|
void |
setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor) |
void |
setInputElementProvider(IInputElementProvider provider) |
addCollapseAllSupport, addElementChangeListener, addLinkWithEditorSupport, addOutlineContributions, addSortingSupport, computeInput, elementChanged, getContentAdapter, init, removeElementChangeListener
addInputChangeListener, addOutlineContribution, addSelectionChangedListener, createControl, createTreeViewer, dispose, editorInputChanged, getContentProvider, getControl, getEditor, getLabelProvider, getSelection, getTreeViewer, init, initDecorationContext, isAutoExpandable, refresh, registerGlobalActions, removeInputChangeListener, removeOutlineContribution, removeSelectionChangedListener, setFocus, setSelection, shouldUseHashlookup
@Inject public void setInputElementProvider(IInputElementProvider provider)
protected IInputElementProvider getInputElementProvider()
getInputElementProvider
in class HandlyOutlinePage
public IBooleanPreference getLinkWithEditorPreference()
ICommonOutlinePage
getLinkWithEditorPreference
in interface ICommonOutlinePage
getLinkWithEditorPreference
in class CommonOutlinePage
null
if the outline page does not support
linking with editorpublic IBooleanPreference getLexicalSortPreference()
ICommonOutlinePage
getLexicalSortPreference
in interface ICommonOutlinePage
getLexicalSortPreference
in class CommonOutlinePage
null
if the outline page does not support
lexical sortingpublic void setEditor(org.eclipse.xtext.ui.editor.XtextEditor editor)
setEditor
in interface org.eclipse.xtext.ui.editor.IXtextEditorAware