public class BaseOutlineTreeProvider
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
Modifier and Type | Field and Description |
---|---|
static TracingOption |
CREATE |
Constructor and Description |
---|
BaseOutlineTreeProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
Constraint constraint) |
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
ModelElementCS csElement)
In the absence of a declarative override, creation of the children an outline node for a CS element
is redirected to its AS counterpart and if this is an implicit node the AS element is corrected to be
the implicit AS element.
|
protected void |
_createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
Operation ele) |
protected void |
_createNode(org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode parentNode,
ModelElementCS csElement)
In the absence of a declarative override, creation of an outline node for a CS element
is redirected to its AS counterpart.
|
protected void |
_createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
ModelElementCS csElement)
In the absence of a declarative override, creation of an outline node for a CS element
is redirected to its AS counterpart.
|
void |
createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.emf.ecore.EObject modelElement)
The default creation of outline children is refined to create a node for an implicit
element such as oclAsSet and to ignore null model elements.
|
protected org.eclipse.xtext.ui.editor.outline.impl.EObjectNode |
createEObjectNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.swt.graphics.Image image,
java.lang.Object text,
boolean isLeaf) |
protected void |
createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent,
org.eclipse.emf.ecore.EObject modelElement)
The default creation of outline node is refined to ignore null model elements.
|
protected ElementCS |
getImplicitCsElement(Element asElement) |
_createChildren, _createChildren, _createChildren, _createChildren, _createNode, _createNode, _createNode, _image, _isLeaf, _isLeaf, _text, checkCanceled, createEObjectNode, createEStructuralFeatureNode, createEStructuralFeatureNode, createRoot, createRoot, isLocalElement, nullSafeClassName, setTextRegion
@NonNull public static final TracingOption CREATE
protected org.eclipse.xtext.ui.editor.outline.impl.EObjectNode createEObjectNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode, org.eclipse.emf.ecore.EObject modelElement, org.eclipse.swt.graphics.Image image, java.lang.Object text, boolean isLeaf)
createEObjectNode
in class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
public void createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.emf.ecore.EObject modelElement)
createChildren
in interface org.eclipse.xtext.ui.editor.outline.impl.IOutlineTreeStructureProvider
createChildren
in class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
protected void createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, org.eclipse.emf.ecore.EObject modelElement)
createNode
in class org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider
protected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, ModelElementCS csElement)
protected void _createNode(org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode parentNode, ModelElementCS csElement)
protected void _createNode(org.eclipse.xtext.ui.editor.outline.IOutlineNode parent, ModelElementCS csElement)
protected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode, Constraint constraint)
protected void _createChildren(org.eclipse.xtext.ui.editor.outline.IOutlineNode parentNode, Operation ele)