public class EObjectNode extends AbstractOutlineNode
IOutlineNode.Extension
Constructor and Description |
---|
EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.jface.resource.ImageDescriptor imageDescriptor,
java.lang.Object text,
boolean isLeaf) |
EObjectNode(org.eclipse.emf.ecore.EObject eObject,
IOutlineNode parent,
org.eclipse.swt.graphics.Image image,
java.lang.Object text,
boolean isLeaf)
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAdapter(java.lang.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, toString
public EObjectNode(org.eclipse.emf.ecore.EObject eObject, IOutlineNode parent, org.eclipse.swt.graphics.Image image, java.lang.Object text, boolean isLeaf)
public EObjectNode(org.eclipse.emf.ecore.EObject eObject, IOutlineNode parent, org.eclipse.jface.resource.ImageDescriptor imageDescriptor, java.lang.Object text, boolean isLeaf)
public org.eclipse.emf.common.util.URI getEObjectURI()
getEObjectURI
in class AbstractOutlineNode
public org.eclipse.emf.ecore.EClass getEClass()
public void setShortTextRegion(ITextRegion shortTextRegion)
public ITextRegion getSignificantTextRegion()
IOutlineNode
getSignificantTextRegion
in interface IOutlineNode
getSignificantTextRegion
in class AbstractOutlineNode
public java.lang.Object getAdapter(java.lang.Class adapterType)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class AbstractOutlineNode
public org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.ecore.resource.Resource resource)