public abstract class AbstractOutlineNode extends Object implements IOutlineNode, IOutlineNode.Extension
IOutlineNode.ExtensionIReadAccess.Priority<P>| Modifier | Constructor and Description |
|---|---|
protected |
AbstractOutlineNode(IOutlineNode parent,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
Object text,
boolean isLeaf) |
protected |
AbstractOutlineNode(IOutlineNode parent,
org.eclipse.swt.graphics.Image image,
Object text,
boolean isLeaf)
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addChild(IOutlineNode outlineNode) |
Object |
getAdapter(Class adapterType) |
List<IOutlineNode> |
getChildren() |
IXtextDocument |
getDocument() |
protected org.eclipse.emf.common.util.URI |
getEObjectURI() |
ITextRegion |
getFullTextRegion()
The region that triggers selection of this node when "Link with Editor" is enabled.
|
org.eclipse.swt.graphics.Image |
getImage()
Deprecated.
use
getImageDescriptor() instead. |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
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.
|
Object |
getText() |
IOutlineTreeStructureProvider |
getTreeProvider() |
boolean |
hasChildren() |
<T> T |
readOnly(IUnitOfWork<T,org.eclipse.emf.ecore.EObject> work) |
protected boolean |
removeChild(IOutlineNode outlineNode) |
void |
setImage(org.eclipse.swt.graphics.Image image) |
void |
setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor imageDescriptor) |
protected void |
setParent(IOutlineNode newParent) |
void |
setText(Object text) |
void |
setTextRegion(ITextRegion textRegion) |
String |
toString() |
protected AbstractOutlineNode(IOutlineNode parent, org.eclipse.swt.graphics.Image image, Object text, boolean isLeaf)
protected AbstractOutlineNode(IOutlineNode parent, org.eclipse.jface.resource.ImageDescriptor imageDescriptor, Object text, boolean isLeaf)
protected void setParent(IOutlineNode newParent)
protected boolean addChild(IOutlineNode outlineNode)
protected boolean removeChild(IOutlineNode outlineNode)
public List<IOutlineNode> getChildren()
getChildren in interface IOutlineNodepublic IOutlineNode getParent()
getParent in interface IOutlineNodepublic boolean hasChildren()
hasChildren in interface IOutlineNodepublic Object getText()
getText in interface IOutlineNodepublic void setText(Object text)
@Deprecated public org.eclipse.swt.graphics.Image getImage()
getImageDescriptor() instead.getImage in interface IOutlineNodepublic void setImage(org.eclipse.swt.graphics.Image image)
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor in interface IOutlineNode.Extensionpublic void setImageDescriptor(org.eclipse.jface.resource.ImageDescriptor imageDescriptor)
public IXtextDocument getDocument()
public IOutlineTreeStructureProvider getTreeProvider()
public void setTextRegion(ITextRegion textRegion)
public ITextRegion getFullTextRegion()
IOutlineNodegetFullTextRegion in interface IOutlineNodepublic ITextRegion getSignificantTextRegion()
IOutlineNodegetSignificantTextRegion in interface IOutlineNodepublic Object getAdapter(Class adapterType)
getAdapter in interface org.eclipse.core.runtime.IAdaptableprotected org.eclipse.emf.common.util.URI getEObjectURI()
public <T> T readOnly(IUnitOfWork<T,org.eclipse.emf.ecore.EObject> work)
readOnly in interface IReadAccess<org.eclipse.emf.ecore.EObject>Copyright © 2016. All Rights Reserved.