public class DotOutlineTreeProvider
extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.Background, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.Cancelable, org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider.ModeAware
Constructor and Description |
---|
DotOutlineTreeProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.gef4.dot.internal.parser.dot.AttrStmt stmt)
Skip the `AttrList` wrapper element in the outline structure.
|
protected boolean |
_isLeaf(org.eclipse.gef4.dot.internal.parser.dot.EdgeRhs edge)
`EdgeRhs` elements are displayed as leafs and not expandable.
|
protected boolean |
_isLeaf(org.eclipse.gef4.dot.internal.parser.dot.NodeStmt node)
Treat node statements as leafs if they have no attributes.
|
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, checkCanceled, createChildren, createEObjectNode, createEObjectNode, createEStructuralFeatureNode, createNode, createRoot, createRoot, isLocalElement, nullSafeClassName
protected boolean _isLeaf(org.eclipse.gef4.dot.internal.parser.dot.NodeStmt node)
node
- The `NodeStmt` model elementprotected boolean _isLeaf(org.eclipse.gef4.dot.internal.parser.dot.EdgeRhs edge)
edge
- The `EdgeRhs` model elementprotected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.gef4.dot.internal.parser.dot.AttrStmt stmt)
parent
- The outline parent node.stmt
- The attribute statement.Copyright (c) 2014 itemis AG and others. All rights reserved.