Eclipse Platform
Release 3.0

Uses of Interface
org.eclipse.core.resources.IFile

Packages that use IFile
org.eclipse.core.filebuffers Provides the API for accessing file buffers. 
org.eclipse.core.resources Provides basic support for managing a workspace and its resources.  
org.eclipse.core.resources.team Provides APIs intended to be implemented by the Team component.  
org.eclipse.debug.core Provides support for launching programs, breakpoint management, expression management, and debug events. 
org.eclipse.debug.core.sourcelookup.containers Provides implementations of common source containers supporting source lookup. 
org.eclipse.debug.ui.console

Provides a set of interfaces and classes for rendering and annotating text in the debug console. 

org.eclipse.search.ui.text Provides the interface for a default search result page for textual searches.  
org.eclipse.team.core Application programming interfaces for defining and working with repository providers.  
org.eclipse.team.core.synchronize Application programming interfaces for managing synchronization state.  
org.eclipse.ui Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.  
org.eclipse.ui.actions Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.  
org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.  
org.eclipse.ui.editors.text Provides a standard text editor and concrete document providers based IFileBuffer and others directly handling IFile and IStorage as editor input. 
org.eclipse.ui.ide APIs for the IDE-specific portion of the Eclipse Platform User Interface.  
org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.  
org.eclipse.ui.views.properties Provides the standard Property Sheet view which displays custom properties of the active workbench part's current selection.  
 

Uses of IFile in org.eclipse.core.filebuffers
 

Methods in org.eclipse.core.filebuffers that return IFile
static IFile FileBuffers.getWorkspaceFileAtLocation(IPath location)
          Returns the workspace file at the given location or null if the location is not a valid location in the workspace.
 

Uses of IFile in org.eclipse.core.resources
 

Methods in org.eclipse.core.resources that return IFile
 IFile IContainer.getFile(IPath path)
          Returns a handle to the file identified by the given path in this container.
 IFile[] IContainer.findDeletedMembersWithHistory(int depth, IProgressMonitor monitor)
          Returns a list of recently deleted files inside this container that have one or more saved states in the local history.
 IFile IProject.getFile(String name)
          Returns a handle to the file with the given name in this project.
 IFile IFolder.getFile(String name)
          Returns a handle to the file with the given name in this folder.
 IFile[] IWorkspaceRoot.findFilesForLocation(IPath location)
          Returns the handles of all files that are mapped to the given path in the local file system.
 IFile IWorkspaceRoot.getFileForLocation(IPath location)
          Returns a handle to the file which is mapped to the given path in the local file system, or null if none.
 

Methods in org.eclipse.core.resources with parameters of type IFile
 IStatus IWorkspace.validateEdit(IFile[] files, Object context)
          Advises that the caller intends to modify the contents of the given files in the near future and asks whether modifying all these files would be reasonable.
 IStatus IFileModificationValidator.validateEdit(IFile[] files, Object context)
          Validates that the given files can be modified.
 IStatus IFileModificationValidator.validateSave(IFile file)
          Validates that the given file can be saved.
 

Uses of IFile in org.eclipse.core.resources.team
 

Methods in org.eclipse.core.resources.team with parameters of type IFile
 boolean IMoveDeleteHook.deleteFile(IResourceTree tree, IFile file, int updateFlags, IProgressMonitor monitor)
          Implements IResource.delete(int,IProgressMonitor) where the receiver is a file.
 boolean IMoveDeleteHook.moveFile(IResourceTree tree, IFile source, IFile destination, int updateFlags, IProgressMonitor monitor)
          Implements IResource.move(IPath,int,IProgressMonitor) where the receiver is a file.
 void IResourceTree.addToLocalHistory(IFile file)
          Adds the current state of the given file to the local history.
 long IResourceTree.computeTimestamp(IFile file)
          Computes the timestamp for the given file in the local file system.
 long IResourceTree.getTimestamp(IFile file)
          Returns the timestamp for the given file as recorded in the workspace resource tree.
 void IResourceTree.updateMovedFileTimestamp(IFile file, long timestamp)
          Updates the timestamp for the given file in the workspace resource tree.
 void IResourceTree.deletedFile(IFile file)
          Declares that the given file has been successfully deleted from the local file system, and requests that the corresponding deletion should now be made to the workspace resource tree.
 void IResourceTree.movedFile(IFile source, IFile destination)
          Declares that the given source file has been successfully moved to the given destination in the local file system, and requests that the corresponding changes should now be made to the workspace resource tree.
 void IResourceTree.standardDeleteFile(IFile file, int updateFlags, IProgressMonitor monitor)
          Deletes the given file in the standard manner from both the local file system and from the workspace resource tree.
 void IResourceTree.standardMoveFile(IFile source, IFile destination, int updateFlags, IProgressMonitor monitor)
          Moves the given file in the standard manner from both the local file system and from the workspace resource tree.
 IStatus TeamHook.validateCreateLink(IFile file, int updateFlags, IPath location)
          Validates whether a particular attempt at link creation is allowed.
 

Uses of IFile in org.eclipse.debug.core
 

Methods in org.eclipse.debug.core that return IFile
 IFile ILaunchConfiguration.getFile()
          Returns the file this launch configuration is stored in, or null if this configuration is stored locally with the workspace.
 

Methods in org.eclipse.debug.core with parameters of type IFile
 ILaunchConfiguration ILaunchManager.getLaunchConfiguration(IFile file)
          Returns a handle to the launch configuration contained in the specified file.
 

Uses of IFile in org.eclipse.debug.core.sourcelookup.containers
 

Methods in org.eclipse.debug.core.sourcelookup.containers that return IFile
 IFile ArchiveSourceContainer.getFile()
          Returns the associated file in the workspace.
 

Constructors in org.eclipse.debug.core.sourcelookup.containers with parameters of type IFile
ArchiveSourceContainer(IFile archive, boolean detectRootPath)
          Creates an archive source container on the given file.
 

Uses of IFile in org.eclipse.debug.ui.console
 

Constructors in org.eclipse.debug.ui.console with parameters of type IFile
FileLink(IFile file, String editorId, int fileOffset, int fileLength, int fileLineNumber)
          Constructs a hyperlink to the specified file.
 

Uses of IFile in org.eclipse.search.ui.text
 

Methods in org.eclipse.search.ui.text that return IFile
 IFile IFileMatchAdapter.getFile(Object element)
          Returns the file associated with the given element (usually the file the element is contained in).
 

Methods in org.eclipse.search.ui.text with parameters of type IFile
 Match[] IFileMatchAdapter.computeContainedMatches(AbstractTextSearchResult result, IFile file)
          Returns an array with all matches contained in the given file in the given search result.
 

Uses of IFile in org.eclipse.team.core
 

Methods in org.eclipse.team.core with parameters of type IFile
static boolean Team.isIgnoredHint(IFile file)
          Deprecated. use isIgnoredHint(IResource) instead
static boolean Team.isIgnored(IFile file)
          Deprecated. use isIgnoredHint instead
 

Uses of IFile in org.eclipse.team.core.synchronize
 

Methods in org.eclipse.team.core.synchronize with parameters of type IFile
 boolean SyncInfoFilter.ContentComparisonSyncInfoFilter.compareContents(IFile local, IResourceVariant remote, IProgressMonitor monitor)
          Compare the contents of the local file and its variant.
 

Uses of IFile in org.eclipse.ui
 

Methods in org.eclipse.ui that return IFile
 IFile IFileEditorInput.getFile()
          Returns the file resource underlying this editor input.
 

Uses of IFile in org.eclipse.ui.actions
 

Methods in org.eclipse.ui.actions that return IFile
protected  IFile CopyFilesAndFoldersOperation.getFile(IResource resource)
          Returns the resource either casted to or adapted to an IFile.
 

Uses of IFile in org.eclipse.ui.dialogs
 

Methods in org.eclipse.ui.dialogs that return IFile
protected  IFile WizardNewFileCreationPage.createFileHandle(IPath filePath)
          Creates a file resource handle for the file with the given workspace path.
 IFile WizardNewFileCreationPage.createNewFile()
          Creates a new file resource in the selected container and with the selected name.
 

Methods in org.eclipse.ui.dialogs with parameters of type IFile
protected  void WizardNewFileCreationPage.createFile(IFile fileHandle, InputStream contents, IProgressMonitor monitor)
          Creates a file resource given the file handle and contents.
 void SaveAsDialog.setOriginalFile(IFile originalFile)
          Sets the original file to use.
 

Uses of IFile in org.eclipse.ui.editors.text
 

Methods in org.eclipse.ui.editors.text that return IFile
protected  IFile FileDocumentProvider.FileSynchronizer.getFile()
          Returns the file wrapped by the file editor input.
 

Methods in org.eclipse.ui.editors.text with parameters of type IFile
protected  void FileDocumentProvider.refreshFile(IFile file)
          Refreshes the given file resource.
protected  void FileDocumentProvider.refreshFile(IFile file, IProgressMonitor monitor)
          Refreshes the given file resource.
protected  void FileDocumentProvider.readUTF8BOM(IFile file, String encoding, Object element)
          Deprecated. as of 3.0 this method is no longer in use and does nothing
protected  IAnnotationModel TextFileDocumentProvider.createAnnotationModel(IFile file)
          Creates and returns the annotation model for the given file.
protected  void TextFileDocumentProvider.createFileFromDocument(IProgressMonitor monitor, IFile file, IDocument document)
          Creates the given file with the given document content.
 

Uses of IFile in org.eclipse.ui.ide
 

Methods in org.eclipse.ui.ide with parameters of type IFile
static IEditorPart IDE.openEditor(IWorkbenchPage page, IFile input, boolean activate)
          Opens an editor on the given file resource.
static IEditorPart IDE.openEditor(IWorkbenchPage page, IFile input)
          Opens an editor on the given file resource.
static IEditorPart IDE.openEditor(IWorkbenchPage page, IFile input, String editorId)
          Opens an editor on the given file resource.
static IEditorPart IDE.openEditor(IWorkbenchPage page, IFile input, String editorId, boolean activate)
          Opens an editor on the given file resource.
static IEditorDescriptor IDE.getEditorDescriptor(IFile file)
          Returns an editor descriptor appropriate for opening the given file resource.
static void IDE.setDefaultEditor(IFile file, String editorID)
          Sets the default editor id for a given file.
static IEditorDescriptor IDE.getDefaultEditor(IFile file)
          Returns the default editor for a given file.
 

Uses of IFile in org.eclipse.ui.part
 

Methods in org.eclipse.ui.part that return IFile
 IFile FileEditorInput.getFile()
           
 IFile FileEditorInput.getFile()
           
 

Constructors in org.eclipse.ui.part with parameters of type IFile
FileInPlaceEditorInput(IFile file)
          Creates an in-place editor input based on a file resource.
FileEditorInput(IFile file)
          Creates an editor input based of the given file resource.
FileInPlaceEditorInput(IFile file)
          Creates an in-place editor input based on a file resource.
FileEditorInput(IFile file)
          Creates an editor input based of the given file resource.
 

Uses of IFile in org.eclipse.ui.views.properties
 

Constructors in org.eclipse.ui.views.properties with parameters of type IFile
FilePropertySource(IFile file)
          Creates an property source for a file resource.
 


Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.