org.eclipse.emf.mwe2.language.ui.outline
Class Mwe2OutlineTreeProvider

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
      extended by org.eclipse.emf.mwe2.language.ui.outline.Mwe2OutlineTreeProvider
All Implemented Interfaces:
org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.Cancelable

public class Mwe2OutlineTreeProvider
extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider

customization of the default outline structure

Author:
Jan Koehnlein

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider
org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.Background, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.Cancelable, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.ModeAware
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
createChildrenDispatcher, createNodeDispatcher, imageDispatcher, isLeafDispatcher, labelProvider, locationInFileProvider, textDispatcher
 
Constructor Summary
Mwe2OutlineTreeProvider()
           
 
Method Summary
protected  void _createChildren(org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode parentNode, Module module)
           
protected  org.eclipse.swt.graphics.Image _image(DeclaredProperty prop)
           
protected  boolean _isLeaf(Assignment assignment)
           
protected  boolean _isLeaf(DeclaredProperty property)
           
protected  java.lang.Object _text(Assignment assignment)
           
protected  java.lang.Object _text(Component component)
           
protected  org.eclipse.jface.viewers.StyledString appendSimpleName(org.eclipse.jface.viewers.StyledString styledText, org.eclipse.xtext.common.types.JvmIdentifiableElement element)
           
protected  org.eclipse.xtext.ui.editor.utils.TextStyle getTypeTextStyle()
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, checkCanceled, createChildren, createEObjectNode, createEObjectNode, createEStructuralFeatureNode, createNode, createRoot, createRoot, isLocalElement, nullSafeClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mwe2OutlineTreeProvider

public Mwe2OutlineTreeProvider()
Method Detail

_createChildren

protected void _createChildren(org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode parentNode,
                               Module module)

_isLeaf

protected boolean _isLeaf(Assignment assignment)

_isLeaf

protected boolean _isLeaf(DeclaredProperty property)

_image

protected org.eclipse.swt.graphics.Image _image(DeclaredProperty prop)

_text

protected java.lang.Object _text(Assignment assignment)

_text

protected java.lang.Object _text(Component component)

appendSimpleName

protected org.eclipse.jface.viewers.StyledString appendSimpleName(org.eclipse.jface.viewers.StyledString styledText,
                                                                  org.eclipse.xtext.common.types.JvmIdentifiableElement element)

getTypeTextStyle

protected org.eclipse.xtext.ui.editor.utils.TextStyle getTypeTextStyle()