Dali Provisional API
Release 3.2

org.eclipse.jpt.common.core.resource.xml
Interface EBaseObject

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
EBaseObjectImpl

public interface EBaseObject
extends EObject

Common Dali behavior for EMF objects.

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.

Since:
2.2

Method Summary
 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.
 TextRange getFullTextRange()
          Return the text range to be used for text selection.
 TextRange getSelectionTextRange()
          Return the text range to be used for selection.
 TextRange getValidationTextRange()
          Return the text range to be used for validation.
 boolean isUnset()
          Return whether all the object's EMF features are "unset".
 
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
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isUnset

boolean isUnset()
Return whether all the object's EMF features are "unset".


containsOffset

boolean containsOffset(int textOffset)
Return true if this object's text representation contains the text offset


getValidationTextRange

TextRange getValidationTextRange()
Return the text range to be used for validation. This is the source range that will be marked for a validation error.


getSelectionTextRange

TextRange getSelectionTextRange()
Return the text range to be used for selection. This is the source range that will be highlighted when the node is selected by clicking in the structure view.


getFullTextRange

TextRange getFullTextRange()
Return the text range to be used for text selection. When the cursor is moved to within this source range in the text editor, the node will be selected in the structure view.


createDeleteEdit

DeleteEdit createDeleteEdit()
Create a text DeleteEdit for deleting the entire IDOMNode and any text that precedes it.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.