public class DotOutlineTreeProvider
extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
Constructor and Description |
---|
DotOutlineTreeProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
Create proper outline subtree from the dot attribute value if possible.
|
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.gef.dot.internal.language.dot.AttrStmt stmt)
Skip the 'AttrList' wrapper element in the outline structure.
|
protected void |
_createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.gef.dot.internal.language.htmllabel.HtmlContent htmlContent)
Skip the empty (containing nothing or only white-spaces) htmlContent
elements, but process their tag children.
|
protected boolean |
_isLeaf(org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
Consider an attribute having a HTML_STRING value as non-leaf.
|
protected boolean |
_isLeaf(org.eclipse.gef.dot.internal.language.dot.EdgeRhs edge)
'EdgeRhs' elements are displayed as leafs and not expandable.
|
protected boolean |
_isLeaf(org.eclipse.gef.dot.internal.language.dot.NodeStmt node)
Treat node statements as leafs if they have no attributes.
|
protected org.eclipse.xtext.ui.editor.outline.impl.EObjectNode |
createEObjectNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
org.eclipse.emf.ecore.EObject modelElement,
Image image,
java.lang.Object text,
boolean isLeaf) |
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, checkCanceled, createChildren, createEObjectNode, createEStructuralFeatureNode, createNode, createRoot, createRoot, isLocalElement, nullSafeClassName
protected boolean _isLeaf(org.eclipse.gef.dot.internal.language.dot.NodeStmt node)
node
- The 'NodeStmt' model elementprotected boolean _isLeaf(org.eclipse.gef.dot.internal.language.dot.EdgeRhs edge)
edge
- The 'EdgeRhs' model elementprotected boolean _isLeaf(org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
attribute
- protected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.gef.dot.internal.language.dot.AttrStmt stmt)
parent
- The outline parent node.stmt
- The attribute statement.protected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.gef.dot.internal.language.dot.Attribute attribute)
parent
- attribute
- protected void _createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.gef.dot.internal.language.htmllabel.HtmlContent htmlContent)
protected org.eclipse.xtext.ui.editor.outline.impl.EObjectNode createEObjectNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode, org.eclipse.emf.ecore.EObject modelElement, Image image, java.lang.Object text, boolean isLeaf)
createEObjectNode
in class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
Copyright (c) 2014 itemis AG and others. All rights reserved.