public abstract class SourceFile extends Element implements ISourceFileImplSupport
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.WorkspaceSourceFile
ISourceFileImplSupport.NotifyingReconcileOperation, ISourceFileImplSupport.ReconcileOperation
IElementImplExtension.CloseHint
SOURCE_AST, SOURCE_CONTENTS, SOURCE_SNAPSHOT
NEW_ELEMENTS, NO_BODY
CLOSE_HINT, FORCE_OPEN
WORKING_COPY_BUFFER, WORKING_COPY_CALLBACK, WORKING_COPY_CONTEXT
Constructor and Description |
---|
SourceFile(IElement parent,
java.lang.String name)
Constructs a handle for a source file with the given parent element and
the given name.
|
equals, getName_, getParent_, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
acquireExistingWorkingCopy_, becomeWorkingCopy_, buildSourceStructure_, buildStructure_, close_, defaultEquals_, defaultHashCode_, fileExists_, getBuffer_, getFileBuffer_, getFileSnapshotProvider_, getReconcileOperation_, getWorkingCopyContext_, isWorkingCopy_, needsReconciling_, newWorkingCopyContext_, openParent_, reconcile_, releaseWorkingCopy_, toStringName_, validateExistence_, workingCopyModeChanged_
checkInRange, getSourceElementAt_, getSourceElementAt_, getSourceElementInfo_
canEqual_, exists_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, isOpenable_, newDoesNotExistException_, open_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_
close_, getBody_, getBody_, getChildren_
getModelManager_
getFile_
public SourceFile(IElement parent, java.lang.String name)
parent
- the parent of the element,
or null
if the element has no parentname
- the name of the element, or null
if the element has no nameCopyright (c) 2014, 2019 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0