Class DcsFile

  • All Implemented Interfaces:
    IXtextFile, IV8Element, IV8File, IDcsFile, org.eclipse.core.runtime.IAdaptable, org.eclipse.handly.model.IElement, org.eclipse.handly.model.IElementExtension, org.eclipse.handly.model.impl.IElementImpl, org.eclipse.handly.model.impl.IElementImplExtension, org.eclipse.handly.model.impl.ISourceElementImpl, org.eclipse.handly.model.impl.ISourceFileImpl, org.eclipse.handly.model.impl.ISourceFileImplExtension, org.eclipse.handly.model.impl.support.IElementImplSupport, org.eclipse.handly.model.impl.support.IModelManager.Provider, org.eclipse.handly.model.impl.support.ISourceElementImplSupport, org.eclipse.handly.model.impl.support.ISourceFileImplSupport, org.eclipse.handly.model.ISourceElement, org.eclipse.handly.model.ISourceElementExtension, org.eclipse.handly.model.ISourceFile, org.eclipse.handly.model.ISourceFileExtension, org.eclipse.xtext.util.concurrent.IReadAccess<org.eclipse.xtext.resource.XtextResource>, org.eclipse.xtext.util.concurrent.IWriteAccess<org.eclipse.xtext.resource.XtextResource>

    public class DcsFile
    extends V8XtextFile
    implements IDcsFile
    IFormFile implementation.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        org.eclipse.handly.model.impl.IElementImplExtension.CloseHint
      • Nested classes/interfaces inherited from interface org.eclipse.xtext.util.concurrent.IReadAccess

        org.eclipse.xtext.util.concurrent.IReadAccess.Priority<State extends Object>
      • Nested classes/interfaces inherited from interface org.eclipse.handly.model.impl.support.ISourceFileImplSupport

        org.eclipse.handly.model.impl.support.ISourceFileImplSupport.NotifyingReconcileOperation, org.eclipse.handly.model.impl.support.ISourceFileImplSupport.ReconcileOperation
    • Field Summary

      • Fields inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        CLOSE_HINT, FORCE_OPEN
      • Fields inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

        NEW_ELEMENTS, NO_BODY
      • Fields inherited from interface org.eclipse.handly.model.impl.ISourceFileImplExtension

        WORKING_COPY_BUFFER, WORKING_COPY_CALLBACK, WORKING_COPY_CONTEXT
      • Fields inherited from interface org.eclipse.handly.model.impl.support.ISourceFileImplSupport

        SOURCE_AST, SOURCE_CONTENTS, SOURCE_SNAPSHOT
    • Constructor Summary

      Constructors 
      Constructor Description
      DcsFile​(V8ProjectHandle parent, org.eclipse.core.resources.IFile file)
      Constructs a handle for an Dcs file with the given parent element and the given underlying workspace file.
    • Method Summary

      All Methods Instance Methods Concrete Methods Default Methods 
      Modifier and Type Method Description
      protected void buildStructure​(org.eclipse.handly.context.IContext context, org.eclipse.xtext.resource.XtextResource resource)  
      default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()  
      • Methods inherited from class org.eclipse.handly.model.impl.support.WorkspaceSourceFile

        getFile_, getFileObject_, getResource_
      • Methods inherited from class org.eclipse.handly.model.impl.support.Element

        equals, getName_, getParent_, hashCode, toString
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
      • Methods inherited from interface org.eclipse.handly.model.IElement

        equals, hashCode
      • Methods inherited from interface org.eclipse.handly.model.IElementExtension

        exists, getAncestor, getChildren, getChildren, getLocationUri, getName, getResource
      • Methods inherited from interface org.eclipse.handly.model.impl.IElementImpl

        equalsAndSameParentChain_, fetchChildren_, fetchChildrenOfType_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getName_, getParent_, getRoot_, toDisplayString_
      • Methods inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        close_, getBody_, getBody_, getChildren_
      • Methods inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

        canEqual_, exists_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, isOpenable_, newDoesNotExistException_, open_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_
      • Methods inherited from interface org.eclipse.xtext.util.concurrent.IReadAccess

        readOnly, tryReadOnly, tryReadOnly, tryReadOnly
      • Methods inherited from interface org.eclipse.handly.model.ISourceElementExtension

        getSourceElementAt, getSourceElementInfo
      • Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceElementImplSupport

        getSourceElementAt_, getSourceElementAt_, getSourceElementInfo_
      • Methods inherited from interface org.eclipse.handly.model.ISourceFileExtension

        getBuffer, isWorkingCopy, needsReconciling, reconcile
      • Methods inherited from interface org.eclipse.handly.model.impl.ISourceFileImpl

        getFileStore_
      • Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceFileImplSupport

        acquireExistingWorkingCopy_, becomeWorkingCopy_, buildStructure_, close_, defaultEquals_, defaultHashCode_, fileExists_, getBuffer_, getFileBuffer_, getFileSnapshotProvider_, getReconcileOperation_, getWorkingCopyContext_, isWorkingCopy_, needsReconciling_, newWorkingCopyContext_, openParent_, reconcile_, releaseWorkingCopy_, toStringName_, validateExistence_, workingCopyModeChanged_
      • Methods inherited from interface com._1c.g5.v8.dt.core.handle.IV8File

        getFile
      • Methods inherited from interface org.eclipse.xtext.util.concurrent.IWriteAccess

        modify, tryModify, tryModify, tryModify
    • Constructor Detail

      • DcsFile

        public DcsFile​(V8ProjectHandle parent,
                       org.eclipse.core.resources.IFile file)
        Constructs a handle for an Dcs file with the given parent element and the given underlying workspace file.
        Parameters:
        parent - the parent of the element (not null)
        file - the workspace file underlying the element (not null)
        Throws:
        IllegalArgumentException - if the handle cannot be constructed on the given workspace file
    • Method Detail

      • buildStructure

        protected void buildStructure​(org.eclipse.handly.context.IContext context,
                                      org.eclipse.xtext.resource.XtextResource resource)
        Specified by:
        buildStructure in class XtextFile
      • getModelManager_

        public default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()
        Specified by:
        getModelManager_ in interface org.eclipse.handly.model.impl.support.IModelManager.Provider