Class Element
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.handly.model.impl.support.Element
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IElement, IElementImpl, IElementImplExtension, IElementImplSupport, IModelManager.Provider
- Direct Known Subclasses:
SourceConstruct, SourceFile
public abstract class Element
extends org.eclipse.core.runtime.PlatformObject
implements IElementImplSupport
Provides a skeletal implementation of
IElementImplExtension
to minimize the effort required to implement that interface. Clients might
as well implement ("mix in") IElementImplSupport directly if extending
this class is not possible/desirable for some reason.-
Nested Class Summary
Nested classes/interfaces inherited from interface IElementImplExtension
IElementImplExtension.CloseHint -
Field Summary
Fields inherited from interface IElementImplExtension
CLOSE_HINT, FORCE_OPENFields inherited from interface IElementImplSupport
NEW_ELEMENTS, NO_BODY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from interface IElementImpl
equalsAndSameParentChain_, fetchChildren_, fetchChildrenOfType_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getResource_, getRoot_, toDisplayString_Methods inherited from interface IElementImplExtension
close_, getBody_, getBody_, getChildren_Methods inherited from interface IElementImplSupport
buildStructure_, canEqual_, close_, defaultEquals_, defaultHashCode_, exists_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, isOpenable_, newDoesNotExistException_, open_, openParent_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_, toStringName_, validateExistence_Methods inherited from interface IModelManager.Provider
getModelManager_
-
Constructor Details
-
Element
-
-
Method Details
-
equals
-
hashCode
-
toString
-
getName_
Description copied from interface:IElementImplReturns the name of this element, ornullif this element has no name. This is a handle-only method.- Specified by:
getName_in interfaceIElementImpl- Returns:
- the element name, or
nullif this element has no name
-
getParent_
Description copied from interface:IElementImplReturns the element directly containing this element, ornullif this element has no parent. This is a handle-only method.- Specified by:
getParent_in interfaceIElementImpl- Returns:
- the parent element, or
nullif this element has no parent
-