org.eclipse.xtext.xtext.ui.editor.outline
Class XtextOutlineTreeProvider

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
      extended by org.eclipse.xtext.ui.editor.outline.impl.ModeAwareOutlineTreeProvider
          extended by org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreeProvider
All Implemented Interfaces:
IOutlineTreeStructureProvider, IOutlineTreeProvider

public class XtextOutlineTreeProvider
extends ModeAwareOutlineTreeProvider

Author:
Jan Koehnlein - Initial contribution and API

Field Summary
static java.lang.String NAME_TYPE_SEPARATOR
           
 
Fields inherited from class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
createChildrenDispatcher, createNodeDispatcher, imageDispatcher, isLeafDispatcher, labelProvider, locationInFileProvider, textDispatcher
 
Constructor Summary
XtextOutlineTreeProvider()
           
 
Method Summary
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)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.impl.ModeAwareOutlineTreeProvider
getCurrentMode, getNextMode, setCurrentMode
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, createChildren, createEObjectNode, createEObjectNode, createEStructuralFeatureNode, createNode, createRoot, isLocalElement, nullSafeClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_TYPE_SEPARATOR

public static final java.lang.String NAME_TYPE_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

XtextOutlineTreeProvider

public XtextOutlineTreeProvider()
Method Detail

getOutlineModes

public java.util.List<OutlineMode> getOutlineModes()
Specified by:
getOutlineModes in class ModeAwareOutlineTreeProvider

_text

protected java.lang.Object _text(AbstractRule rule)

getReturnTypeText

protected org.eclipse.jface.viewers.StyledString getReturnTypeText(AbstractRule rule)

_createNode

protected void _createNode(DocumentRootNode parentNode,
                           Grammar grammar)

_createNode

protected void _createNode(IOutlineNode parentNode,
                           AbstractRule rule)

createRuleNode

protected void createRuleNode(IOutlineNode parentNode,
                              AbstractRule rule,
                              boolean isShowGrammar,
                              boolean isLocalRule)

_createChildren

protected void _createChildren(IOutlineNode parentNode,
                               Grammar grammar)

_isLeaf

protected boolean _isLeaf(AbstractRule rule)

safeName

protected java.lang.String safeName(java.lang.String s)