org.eclipse.xtext.ui.editor.outline
Interface IOutlineNode

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IReadAccess<org.eclipse.emf.ecore.EObject>
All Known Implementing Classes:
AbstractOutlineNode, DocumentRootNode, EObjectNode, EStructuralFeatureNode, RuleNode, XtendFeatureNode

public interface IOutlineNode
extends org.eclipse.core.runtime.IAdaptable, IReadAccess<org.eclipse.emf.ecore.EObject>

A model for a node in the outline. Implementors must inherit from AbstractOutlineNode.

Author:
Jan Koehnlein - Initial contribution and API

Method Summary
 java.util.List<IOutlineNode> getChildren()
           
 ITextRegion getFullTextRegion()
          The region that triggers selection of this node when "Link with Editor" is enabled.
 org.eclipse.swt.graphics.Image getImage()
           
 IOutlineNode getParent()
           
 ITextRegion getSignificantTextRegion()
          The region that is selected in the editor when this node is double clicked or selected in "Link with Editor" mode.
 java.lang.Object getText()
           
 boolean hasChildren()
           
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.xtext.util.concurrent.IReadAccess
readOnly
 

Method Detail

getText

java.lang.Object getText()

getImage

org.eclipse.swt.graphics.Image getImage()

getParent

IOutlineNode getParent()

getChildren

java.util.List<IOutlineNode> getChildren()

hasChildren

boolean hasChildren()

getFullTextRegion

ITextRegion getFullTextRegion()
The region that triggers selection of this node when "Link with Editor" is enabled.


getSignificantTextRegion

ITextRegion getSignificantTextRegion()
The region that is selected in the editor when this node is double clicked or selected in "Link with Editor" mode.