public class XtextOutlineTreeProvider extends ModeAwareOutlineTreeProvider
IOutlineTreeProvider.Background, IOutlineTreeProvider.Cancelable, IOutlineTreeProvider.ModeAware
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_TYPE_SEPARATOR |
createChildrenDispatcher, createNodeDispatcher, imageDispatcher, isLeafDispatcher, labelProvider, locationInFileProvider, textDispatcher
Constructor and Description |
---|
XtextOutlineTreeProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_createChildren(IOutlineNode parentNode,
Grammar grammar) |
protected void |
_createNode(DocumentRootNode parentNode,
Grammar grammar) |
protected void |
_createNode(IOutlineNode parentNode,
AbstractRule rule) |
protected boolean |
_isLeaf(AbstractRule rule) |
protected java.lang.Object |
_text(AbstractRule rule) |
protected void |
createRuleNode(IOutlineNode parentNode,
AbstractRule rule,
boolean isShowGrammar,
boolean isLocalRule) |
java.util.List<OutlineMode> |
getOutlineModes() |
protected org.eclipse.jface.viewers.StyledString |
getReturnTypeText(AbstractRule rule) |
protected java.lang.String |
safeName(java.lang.String s) |
getCurrentMode, getNextMode, setCurrentMode
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, checkCanceled, createChildren, createEObjectNode, createEObjectNode, createEStructuralFeatureNode, createNode, createRoot, createRoot, isLocalElement, nullSafeClassName
public static final java.lang.String NAME_TYPE_SEPARATOR
public java.util.List<OutlineMode> getOutlineModes()
getOutlineModes
in interface IOutlineTreeProvider.ModeAware
getOutlineModes
in class ModeAwareOutlineTreeProvider
protected java.lang.Object _text(AbstractRule rule)
protected org.eclipse.jface.viewers.StyledString getReturnTypeText(AbstractRule rule)
protected void _createNode(DocumentRootNode parentNode, Grammar grammar)
protected void _createNode(IOutlineNode parentNode, AbstractRule rule)
protected void createRuleNode(IOutlineNode parentNode, AbstractRule rule, boolean isShowGrammar, boolean isLocalRule)
protected void _createChildren(IOutlineNode parentNode, Grammar grammar)
protected boolean _isLeaf(AbstractRule rule)
protected java.lang.String safeName(java.lang.String s)