Class WorkspaceSourceFile

    • Constructor Detail

      • WorkspaceSourceFile

        public WorkspaceSourceFile​(IElement parent,
                                   org.eclipse.core.resources.IFile file)
        Constructs a handle for a source file with the given parent element and the given underlying IFile.
        Parameters:
        parent - the parent of the element, or null if the element has no parent
        file - the underlying IFile (not null)
    • Method Detail

      • getResource_

        public final org.eclipse.core.resources.IResource getResource_()
        Returns the underlying IFile. This is a handle-only method.
        Returns:
        the underlying IFile (never null)
      • getFile_

        public final org.eclipse.core.resources.IFile getFile_()
        Returns the underlying IFile. This is a handle-only method.
        Returns:
        the underlying IFile (never null)