public class CompositeNodeWithSemanticElement extends CompositeNode implements org.eclipse.emf.common.notify.Adapter
| Constructor and Description |
|---|
CompositeNodeWithSemanticElement() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.EObject |
basicGetSemanticElement() |
protected void |
basicSetSemanticElement(org.eclipse.emf.ecore.EObject element) |
org.eclipse.emf.ecore.EObject |
getSemanticElement()
Returns the nearest semantic object that is associated with the subtree of this node.
|
org.eclipse.emf.common.notify.Notifier |
getTarget() |
boolean |
isAdapterForType(Object type) |
void |
notifyChanged(org.eclipse.emf.common.notify.Notification notification) |
void |
setTarget(org.eclipse.emf.common.notify.Notifier newTarget) |
basicGetChildren, basicGetFirstChild, basicGetLastChild, basicSetFirstChild, basicSetLookAhead, getChildren, getFirstChild, getGrammarElement, getLastChild, getLookAhead, getTotalLength, getTotalOffset, hasChildren, isFolded, isFolded, resolveAsParentbasicGetGrammarElement, basicGetLineOfOffset, basicGetNextSibling, basicGetParent, basicGetPreviousSibling, basicHasNextSibling, basicHasPreviousSibling, basicHasSiblings, basicIterator, basicSetGrammarElement, basicSetNextSibling, basicSetParent, basicSetPreviousSibling, getAsTreeIterable, getEndLine, getEndOffset, getLeafNodes, getLength, getNextSibling, getOffset, getParent, getPreviousSibling, getRootNode, getStartLine, getSyntaxErrorMessage, getText, getTextRegion, getTextRegionWithLineInformation, getTextRegionWithLineInformation, getTotalEndLine, getTotalEndOffset, getTotalStartLine, getTotalTextRegion, getTotalTextRegionWithLineInformation, hasDirectSemanticElement, hasNextSibling, hasPreviousSibling, hasSiblings, iterator, reverseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsTreeIterable, getEndLine, getEndOffset, getLeafNodes, getLength, getNextSibling, getOffset, getParent, getPreviousSibling, getRootNode, getStartLine, getSyntaxErrorMessage, getText, getTextRegion, getTextRegionWithLineInformation, getTotalEndLine, getTotalEndOffset, getTotalStartLine, getTotalTextRegion, getTotalTextRegionWithLineInformation, hasDirectSemanticElement, hasNextSibling, hasPreviousSibling, hasSiblingspublic org.eclipse.emf.ecore.EObject getSemanticElement()
INodenull whenever
the parser refused to create any objects due to unrecoverable errors. Implementations will usually walk up the
node tree to find the semantic object. As the node model structure does not reflect the containment structure of
the semantic object graph, clients should usually use the utilities in
NodeModelUtils to
obtain the semantic instance.getSemanticElement in interface INodegetSemanticElement in class AbstractNodenull.INode.hasDirectSemanticElement(),
NodeModelUtils.findActualSemanticObjectFor(INode)public org.eclipse.emf.ecore.EObject basicGetSemanticElement()
basicGetSemanticElement in class AbstractNodeprotected void basicSetSemanticElement(org.eclipse.emf.ecore.EObject element)
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
notifyChanged in interface org.eclipse.emf.common.notify.Adapterpublic org.eclipse.emf.common.notify.Notifier getTarget()
getTarget in interface org.eclipse.emf.common.notify.Adapterpublic void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
setTarget in interface org.eclipse.emf.common.notify.Adapterpublic boolean isAdapterForType(Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterCopyright © 2015. All Rights Reserved.