|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.jpt.common.core.resource.xml.EBaseObjectImpl
public abstract class EBaseObjectImpl
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Nested Class Summary | |
|---|---|
protected static class |
EBaseObjectImpl.XmlEAdapterList<E extends Object & Adapter>
|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected IDOMNode |
node
|
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
EBaseObjectImpl()
|
| Method Summary | |
|---|---|
protected void |
addInsignificantXmlFeatureIdsTo(Set<Integer> insignificantXmlFeatureIds)
Add the object's "insignificant" feature ids to the specified set. |
protected TextRange |
buildElementCodeAssistTextRange_(IDOMNode domNode,
TextRange textRange)
pre-condition: the specified DOM node is not null |
protected TextRange |
buildElementCodeAssistTextRange(IDOMNode domNode)
|
protected TextRange |
buildElementCodeAssistTextRange(IDOMNode domNode,
TextRange textRange)
|
protected TextRange |
buildTextRange_(IDOMNode domNode,
TextRange textRange)
pre-condition: the specified DOM node is not null |
protected TextRange |
buildTextRange(IDOMNode domNode)
|
protected TextRange |
buildTextRange(IDOMNode domNode,
TextRange textRange)
|
boolean |
containsOffset(int textOffset)
Return true if this object's text representation contains the text offset |
DeleteEdit |
createDeleteEdit()
Create a text DeleteEdit for deleting the entire IDOMNode and any text that precedes it. |
EList<Adapter> |
eAdapters()
override to build a custom list for the adapters |
void |
eNotify(Notification notification)
override to prevent notification when the object's state is unchanged |
protected void |
featureChanged(int featureId)
|
protected boolean |
featureIsInsignificant(int featureId)
|
protected boolean |
featureIsSignificant(int featureId)
|
protected TextRange |
getAttributeCodeAssistTextRange(String attributeName)
Return a text range for the specified attribute node. |
protected IDOMAttr |
getAttributeNode(String attributeName)
|
protected TextRange |
getAttributeTextRange(String attributeName)
Return a text range for the specified attribute node. |
protected int |
getDeletionOffset()
deletion offset needs to include any text that is before the node |
protected TextRange |
getElementCodeAssistTextRange(String elementName)
Return a text range for the specified element node. |
protected IDOMNode |
getElementNode(String elementName)
Returns the first element node with the given name, if one exists |
protected TextRange |
getElementTextRange(String elementName)
Return a text range for the specified element node. |
TextRange |
getFullTextRange()
Return the text range to be used for text selection. |
int |
getNodeEndOffset()
|
TextRange |
getSelectionTextRange()
Return the text range to be used for selection. |
protected IDOMNode |
getTextNode()
|
protected TextRange |
getTextTextRange()
Return a text range for the "text" node. |
TextRange |
getValidationTextRange()
Return the text range to be used for validation. |
protected JptXmlResource |
getXmlResource()
|
protected Set<Integer> |
insignificantFeatureIds()
Return a set of the object's "insignificant" feature ids. |
boolean |
isUnset()
Return whether all the object's EMF features are "unset". |
protected IDOMNode |
selectTextNode(NodeList nodes)
|
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI, eStaticClass |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eDeliver, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
protected IDOMNode node
| Constructor Detail |
|---|
protected EBaseObjectImpl()
| Method Detail |
|---|
public boolean isUnset()
EBaseObject
isUnset in interface EBaseObjectpublic EList<Adapter> eAdapters()
eAdapters in interface NotifiereAdapters in class EObjectImplpublic void eNotify(Notification notification)
eNotify in interface NotifiereNotify in class BasicNotifierImplprotected void featureChanged(int featureId)
protected JptXmlResource getXmlResource()
protected boolean featureIsSignificant(int featureId)
protected boolean featureIsInsignificant(int featureId)
protected Set<Integer> insignificantFeatureIds()
isUnset()protected void addInsignificantXmlFeatureIdsTo(Set<Integer> insignificantXmlFeatureIds)
protected TextRange getTextTextRange()
protected IDOMNode getTextNode()
protected IDOMNode selectTextNode(NodeList nodes)
protected TextRange getAttributeTextRange(String attributeName)
protected IDOMAttr getAttributeNode(String attributeName)
protected TextRange getElementTextRange(String elementName)
protected IDOMNode getElementNode(String elementName)
public TextRange getValidationTextRange()
EBaseObject
getValidationTextRange in interface EBaseObjectpublic TextRange getSelectionTextRange()
EBaseObject
getSelectionTextRange in interface EBaseObjectpublic TextRange getFullTextRange()
EBaseObject
getFullTextRange in interface EBaseObjectprotected TextRange buildTextRange(IDOMNode domNode)
protected TextRange buildTextRange(IDOMNode domNode,
TextRange textRange)
protected TextRange buildTextRange_(IDOMNode domNode,
TextRange textRange)
null
public boolean containsOffset(int textOffset)
EBaseObject
containsOffset in interface EBaseObjectprotected TextRange getAttributeCodeAssistTextRange(String attributeName)
protected TextRange getElementCodeAssistTextRange(String elementName)
protected TextRange buildElementCodeAssistTextRange(IDOMNode domNode)
protected TextRange buildElementCodeAssistTextRange(IDOMNode domNode,
TextRange textRange)
protected TextRange buildElementCodeAssistTextRange_(IDOMNode domNode,
TextRange textRange)
null
public DeleteEdit createDeleteEdit()
EBaseObject
createDeleteEdit in interface EBaseObjectpublic int getNodeEndOffset()
protected int getDeletionOffset()
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||