Package org.eclipse.ui.part
Class FileInPlaceEditorInput
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.ui.part.FileEditorInput
org.eclipse.ui.part.FileInPlaceEditorInput
- All Implemented Interfaces:
IAdaptable,IEditorInput,IFileEditorInput,IInPlaceEditorInput,IPathEditorInput,IPersistable,IPersistableElement,IStorageEditorInput,IURIEditorInput
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
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorsConstructorDescriptionFileInPlaceEditorInput(IFile file) Creates an in-place editor input based on a file resource. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetInPlaceEditor(IInPlaceEditor editor) Sets the in-place editor this input is associated with.Methods inherited from class org.eclipse.ui.part.FileEditorInput
equals, exists, getAdapter, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, getURI, hashCode, isLocalFile, saveState, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipTextMethods inherited from interface org.eclipse.ui.IPathEditorInput
getPath
-
Constructor Details
-
FileInPlaceEditorInput
Creates an in-place editor input based on a file resource.- Parameters:
file- the file resource
-
-
Method Details
-
setInPlaceEditor
Description copied from interface:IInPlaceEditorInputSets the in-place editor this input is associated with.- Specified by:
setInPlaceEditorin interfaceIInPlaceEditorInput- Parameters:
editor- the in-place editor associated with this input ornullto disassociate.
-