Eclipse Platform
2.0

org.eclipse.ui
Interface IFileEditorInput

All Superinterfaces:
IAdaptable, IEditorInput, IStorageEditorInput
All Known Implementing Classes:
FileEditorInput

public interface IFileEditorInput
extends IStorageEditorInput

This interface defines a file-oriented input to an editor.

File-oriented editors should support this as a valid input type, and allow full read-write editing of its content.

A default implementation of this interface is provided by org.eclipse.ui.part.FileEditorInput.

All editor inputs must implement the IAdaptable interface; extensions are managed by the platform's adapter manager.

See Also:
IFile

Method Summary
 IFile getFile()
          Returns the file resource underlying this editor input.
 
Methods inherited from interface org.eclipse.ui.IStorageEditorInput
getStorage
 
Methods inherited from interface org.eclipse.ui.IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getFile

public IFile getFile()
Returns the file resource underlying this editor input.

Returns:
the underlying file

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.