public class EObjectNode extends AbstractOutlineNode
IOutlineNode.ExtensionIReadAccess.Priority<P>| Constructor and Description |
|---|
EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
Object text,
boolean isLeaf) |
EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.swt.graphics.Image image,
Object text,
boolean isLeaf)
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdapter(Class adapterType) |
org.eclipse.emf.ecore.EClass |
getEClass() |
org.eclipse.emf.ecore.EObject |
getEObject(org.eclipse.emf.ecore.resource.Resource resource) |
org.eclipse.emf.common.util.URI |
getEObjectURI() |
ITextRegion |
getSignificantTextRegion()
The region that is selected in the editor when this node is double clicked or selected in "Link with Editor"
mode.
|
void |
setShortTextRegion(ITextRegion shortTextRegion) |
addChild, getChildren, getDocument, getFullTextRegion, getImage, getImageDescriptor, getParent, getText, getTreeProvider, hasChildren, readOnly, removeChild, setImage, setImageDescriptor, setParent, setText, setTextRegion, toStringpublic EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.swt.graphics.Image image,
Object text,
boolean isLeaf)
public EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
Object text,
boolean isLeaf)
public org.eclipse.emf.common.util.URI getEObjectURI()
getEObjectURI in class AbstractOutlineNodepublic org.eclipse.emf.ecore.EClass getEClass()
public void setShortTextRegion(ITextRegion shortTextRegion)
public ITextRegion getSignificantTextRegion()
IOutlineNodegetSignificantTextRegion in interface IOutlineNodegetSignificantTextRegion in class AbstractOutlineNodepublic Object getAdapter(Class adapterType)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class AbstractOutlineNodepublic org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.ecore.resource.Resource resource)
Copyright © 2016. All Rights Reserved.