public class OutlineNodeFactory
extends java.lang.Object
IOutlineNode
and links them to a text location.Constructor and Description |
---|
OutlineNodeFactory() |
Modifier and Type | Method and Description |
---|---|
EObjectNode |
createEObjectNode(IOutlineNode parentNode,
org.eclipse.emf.ecore.EObject modelElement,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
java.lang.Object text,
boolean isLeaf) |
EStructuralFeatureNode |
createEStructuralFeatureNode(IOutlineNode parentNode,
org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
java.lang.Object text,
boolean isLeaf) |
IOutlineNode |
createRoot(IXtextDocument document,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
java.lang.Object text,
IOutlineTreeStructureProvider provider) |
protected ILocationInFileProvider |
getLocationInFileProvider() |
protected boolean |
isLocalElement(IOutlineNode node,
org.eclipse.emf.ecore.EObject element) |
public IOutlineNode createRoot(IXtextDocument document, org.eclipse.jface.resource.ImageDescriptor imageDescriptor, java.lang.Object text, IOutlineTreeStructureProvider provider)
public EStructuralFeatureNode createEStructuralFeatureNode(IOutlineNode parentNode, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.jface.resource.ImageDescriptor imageDescriptor, java.lang.Object text, boolean isLeaf)
public EObjectNode createEObjectNode(IOutlineNode parentNode, org.eclipse.emf.ecore.EObject modelElement, org.eclipse.jface.resource.ImageDescriptor imageDescriptor, java.lang.Object text, boolean isLeaf)
protected boolean isLocalElement(IOutlineNode node, org.eclipse.emf.ecore.EObject element)
protected ILocationInFileProvider getLocationInFileProvider()