org.eclipse.ui.part
Class FileInPlaceEditorInput
java.lang.Object
org.eclipse.ui.part.FileEditorInput
org.eclipse.ui.part.FileInPlaceEditorInput
- All Implemented Interfaces:
- IAdaptable, IEditorInput, IFileEditorInput, IInPlaceEditorInput, IPathEditorInput, IPersistable, IPersistableElement, IStorageEditorInput
- public class FileInPlaceEditorInput
- extends FileEditorInput
- implements IInPlaceEditorInput
Adapter for making a file resource a suitable input for an in-place editor.
This class may be instantiated; it is not intended to be subclassed.
- Since:
- 3.0
Methods inherited from class org.eclipse.ui.part.FileEditorInput |
equals, exists, getAdapter, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, hashCode, saveState, toString |
FileInPlaceEditorInput
public FileInPlaceEditorInput(IFile file)
- Creates an in-place editor input based on a file resource.
- Parameters:
file
- the file resource
setInPlaceEditor
public void setInPlaceEditor(IInPlaceEditor editor)
- Description copied from interface:
IInPlaceEditorInput
- Sets the in-place editor this input is associated with.
- Specified by:
setInPlaceEditor
in interface IInPlaceEditorInput
- Parameters:
editor
- the in-place editor associated with this input
or null
to disassociate.
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.