Class SourceFile
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.handly.model.impl.support.Element
org.eclipse.handly.model.impl.support.SourceFile
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IElement, IElementImpl, IElementImplExtension, ISourceElementImpl, ISourceFileImpl, ISourceFileImplExtension, IElementImplSupport, IModelManager.Provider, ISourceElementImplSupport, ISourceFileImplSupport, ISourceElement, ISourceFile
- Direct Known Subclasses:
BaseSourceFile, FsSourceFile, WorkspaceSourceFile
Provides a skeletal implementation of
ISourceFileImplExtension
to minimize the effort required to implement that interface. Clients might
as well implement ("mix in") ISourceFileImplSupport directly
if extending this class is not possible/desirable for some reason.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface IElementImplExtension
IElementImplExtension.CloseHintNested classes/interfaces inherited from interface ISourceFileImplSupport
ISourceFileImplSupport.NotifyingReconcileOperation, ISourceFileImplSupport.ReconcileOperation -
Field Summary
Fields inherited from interface IElementImplExtension
CLOSE_HINT, FORCE_OPENFields inherited from interface IElementImplSupport
NEW_ELEMENTS, NO_BODYFields inherited from interface ISourceFileImplExtension
WORKING_COPY_BUFFER, WORKING_COPY_CALLBACK, WORKING_COPY_CONTEXTFields inherited from interface ISourceFileImplSupport
SOURCE_AST, SOURCE_CONTENTS, SOURCE_SNAPSHOT -
Constructor Summary
ConstructorsConstructorDescriptionSourceFile(IElement parent, String name) Constructs a handle for a source file with the given parent element and the given name. -
Method Summary
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from interface IElementImpl
equalsAndSameParentChain_, fetchChildren_, fetchChildrenOfType_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getName_, getParent_, getResource_, getRoot_, toDisplayString_Methods inherited from interface IElementImplExtension
close_, getBody_, getBody_, getChildren_Methods inherited from interface IElementImplSupport
canEqual_, exists_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, isOpenable_, newDoesNotExistException_, open_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_Methods inherited from interface IModelManager.Provider
getModelManager_Methods inherited from interface ISourceElementImplSupport
getSourceElementAt_, getSourceElementAt_, getSourceElementInfo_Methods inherited from interface ISourceFileImpl
getFile_, getFileStore_Methods inherited from interface ISourceFileImplSupport
acquireExistingWorkingCopy_, becomeWorkingCopy_, buildSourceStructure_, buildStructure_, close_, defaultEquals_, defaultHashCode_, fileExists_, getBuffer_, getFileBuffer_, getFileObject_, getFileSnapshotProvider_, getReconcileOperation_, getWorkingCopyContext_, isWorkingCopy_, needsReconciling_, newWorkingCopyContext_, openParent_, reconcile_, releaseWorkingCopy_, toStringName_, validateExistence_, workingCopyModeChanged_
-
Constructor Details
-
SourceFile
-