| |
|
| java.lang.Object org.eclipse.ui.part.FileEditorInput
All known Subclasses: org.eclipse.ui.part.FileInPlaceEditorInput,
FileEditorInput | public class FileEditorInput implements IFileEditorInput,IPathEditorInput,IURIEditorInput,IPersistableElement(Code) | | Adapter for making a file resource a suitable input for an editor.
This class may be instantiated; it is not intended to be subclassed.
|
Constructor Summary | |
public | FileEditorInput(IFile file) Creates an editor input based of the given file resource. |
FileEditorInput | public FileEditorInput(IFile file)(Code) | | Creates an editor input based of the given file resource.
Parameters: file - the file resource |
exists | public boolean exists()(Code) | | |
getFile | public IFile getFile()(Code) | | |
getImageDescriptor | public ImageDescriptor getImageDescriptor()(Code) | | |
getPath | public IPath getPath()(Code) | | |
getPersistable | public IPersistableElement getPersistable()(Code) | | |
getStorage | public IStorage getStorage()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isLocalFile | public static boolean isLocalFile(IFile file)(Code) | | Return whether or not file is local. Only
IFile s with a local
value should call
IPathEditorInput.getPath Parameters: file - boolean true if the file has a local implementation. |
saveState | public void saveState(IMemento memento)(Code) | | |
|
|
|