|
 |
|
|
Uses of Interface org.eclipse.core.resources.IFile
Methods in
org.eclipse.core.resources.mapping with parameters of type
IFile
|
void
|
IResourceChangeDescriptionFactory.
change
(
IFile file)
Record a delta that represents a content change for the given file. |
abstract
IStorage
|
RemoteResourceMappingContext.
fetchBaseContents
(
IFile file,
IProgressMonitor monitor)
For three-way comparisons, returns an instance of IStorage in order to
allow the caller to access the contents of the base resource that
corresponds to the given local resource. |
abstract
IStorage
|
RemoteResourceMappingContext.
fetchRemoteContents
(
IFile file,
IProgressMonitor monitor)
Returns an instance of IStorage in order to allow the caller to access
the contents of the remote that corresponds to the given local resource. |
Methods in
org.eclipse.core.resources.team with parameters of type
IFile
|
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. |
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. |
boolean
|
IMoveDeleteHook.
deleteFile
(
IResourceTree tree,
IFile file,
int updateFlags,
IProgressMonitor monitor)
Implements IResource.delete(int,IProgressMonitor) where the
receiver is a file. |
long
|
IResourceTree.
getTimestamp
(
IFile file)
Returns the timestamp for the given file as recorded in 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. |
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.
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. |
void
|
IResourceTree.
updateMovedFileTimestamp
(
IFile file,
long timestamp)
Updates the timestamp for the given file in the workspace resource tree. |
IStatus
|
TeamHook.
validateCreateLink
(
IFile file,
int updateFlags,
IPath location)
Validates whether a particular attempt at link creation is allowed. |
IStatus
|
TeamHook.
validateCreateLink
(
IFile file,
int updateFlags,
URI location)
Validates whether a particular attempt at link creation is allowed. |
abstract
IStatus
|
FileModificationValidator.
validateEdit
(
IFile[] files,
FileModificationValidationContext context)
Validates that the given files can be modified. |
IStatus
|
FileModificationValidator.
validateEdit
(
IFile[] files,
Object context)
Deprecated. this method is part of the deprecated
IFileModificationValidator
interface. Clients should call
FileModificationValidator.validateEdit(IFile[], FileModificationValidationContext)
instead.
|
IStatus
|
FileModificationValidator.
validateSave
(
IFile file)
Validates that the given file can be saved. |
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.team.core.mapping with parameters of type
IFile
|
void
|
IChangeGroupingRequestor.
ensureChangesGrouped
(
IProject project,
IFile[] files,
String nameHint)
Issue a request to group the provided files together when the changes
are committed or checked-in to the repository. |
protected void
|
ChangeTracker.
ensureGrouped
(
IProject project,
String name,
IFile[] files)
Group the given modified file into a change set with the given name. |
boolean
|
IChangeGroupingRequestor.
isModified
(
IFile file)
Return whether the given file is modified with respect to the repository. |
protected boolean
|
ChangeTracker.
isModified
(
IFile file)
Return whether the given file is modified with respect to the
repository provider associated with the file's project. |
Methods in
org.eclipse.team.ui.history that return
IFile
|
protected abstract
IFile
|
ElementLocalHistoryPageSource.
getFile
(
Object element)
Return the file that contains the given element of null
if this page source can not show history for the given element. |
Methods in
org.eclipse.ui.editors.text with parameters of type
IFile
|
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. |
protected void
|
FileBufferOperationHandler.
doRun
(
IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation)
Runs the given operation. |
protected void
|
FileBufferOperationAction.
doRun
(
IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation)
|
protected
IPath[]
|
FileBufferOperationHandler.
generateLocations
(
IFile[] files,
IProgressMonitor progressMonitor)
Generates the file buffer locations out of the given files. |
protected
IPath[]
|
FileBufferOperationAction.
generateLocations
(
IFile[] files,
IProgressMonitor progressMonitor)
|
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 void
|
FileDocumentProvider.
refreshFile
(
IFile file)
Refreshes the given file resource. |
protected void
|
FileDocumentProvider.
refreshFile
(
IFile file,
IProgressMonitor monitor)
Refreshes the given file resource. |
Methods in
org.eclipse.ui.ide that return
IFile
|
static
IFile
|
ResourceUtil.
getFile
(
IEditorInput editorInput)
Returns the file corresponding to the given editor input, or null
if there is no applicable file. |
static
IFile
|
ResourceUtil.
getFile
(
Object element)
Returns the file corresponding to the given model element, or null
if there is no applicable file. |
Methods in
org.eclipse.ui.ide with parameters of type
IFile
|
static
IEditorPart
|
ResourceUtil.
findEditor
(
IWorkbenchPage page,
IFile file)
Returns the editor in the given page whose input represents the given file,
or null if there is no such editor. |
static
IContentType
|
IDE.
getContentType
(
IFile file)
Return the content type for the given file. |
static
IEditorDescriptor
|
IDE.
getDefaultEditor
(
IFile file)
Returns the default editor for a given file. |
static
IEditorDescriptor
|
IDE.
getDefaultEditor
(
IFile file,
boolean determineContentType)
Returns the default editor for a given file. |
static
IEditorDescriptor
|
IDE.
getEditorDescriptor
(
IFile file)
Returns an editor descriptor appropriate for opening the given file
resource. |
static
IEditorDescriptor
|
IDE.
getEditorDescriptor
(
IFile file,
boolean determineContentType)
Returns an editor descriptor appropriate for opening the given file
resource. |
static
IContentType
|
IDE.
guessContentType
(
IFile file)
Guess at the content type of the given file based on the filename. |
static
IEditorPart
|
IDE.
openEditor
(
IWorkbenchPage page,
IFile input)
Opens an editor on the given file resource. |
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,
boolean activate,
boolean determineContentType)
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
IEditorReference[]
|
IDE.
openEditors
(
IWorkbenchPage page,
IFile[] inputs)
Opens editors on given file resources. |
static void
|
IDE.
setDefaultEditor
(
IFile file,
String editorID)
Sets the default editor id for a given file. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|