public class FileInPlaceEditorInput extends FileEditorInput implements IInPlaceEditorInput
This class may be instantiated; it is not intended to be subclassed.
Constructor and Description |
---|
FileInPlaceEditorInput(IFile file)
Creates an in-place editor input based on a file resource.
|
Modifier and Type | Method and Description |
---|---|
void |
setInPlaceEditor(IInPlaceEditor editor)
Sets the in-place editor this input is associated with.
|
equals, exists, getAdapter, getFactoryId, getFile, getImageDescriptor, getName, getPath, getPersistable, getStorage, getToolTipText, getURI, hashCode, isLocalFile, saveState, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPath
exists, getImageDescriptor, getName, getPersistable, getToolTipText
getAdapter
public FileInPlaceEditorInput(IFile file)
file
- the file resourcepublic void setInPlaceEditor(IInPlaceEditor editor)
IInPlaceEditorInput
setInPlaceEditor
in interface IInPlaceEditorInput
editor
- the in-place editor associated with this input
or null
to disassociate.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.