| |
|
| java.lang.Object org.eclipse.ui.internal.WorkbenchPartReference org.eclipse.ui.internal.EditorReference
name | String name(Code) | | User-readable name of the editor's input
|
EditorReference | public EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc)(Code) | | Parameters: manager - The editor manager for this reference Parameters: input - our input Parameters: desc - the descriptor from the declaration |
EditorReference | public EditorReference(EditorManager manager, IEditorInput input, EditorDescriptor desc, IMemento editorState)(Code) | | Parameters: manager - The editor manager for this reference Parameters: input - our input Parameters: desc - the descriptor from the declaration Parameters: editorState - propogate state from another editor. Can be null . |
EditorReference | EditorReference(EditorManager manager, IMemento memento)(Code) | | Constructs a new editor reference for use by editors being restored from
a memento.
|
computeImageDescriptor | public ImageDescriptor computeImageDescriptor()(Code) | | |
createPart | protected IWorkbenchPart createPart()(Code) | | Wrapper for restoring the editor. First, this delegates to busyRestoreEditorHelper
to do the real work of restoring the view. If unable to restore the editor, this
method tries to substitute an error part and return success.
Parameters: ref_ - Parameters: manager - TODO |
doDisposePart | protected void doDisposePart()(Code) | | |
isMultiReference | public boolean isMultiReference()(Code) | | A quick way of finding out if this reference points to a MultiEditor.
It depends on the fact that a MultiEditor does not lazily
instantiate it's child editors.
true if it has inner editor reference or the input isMultiEditorInput. |
partPropertyChanged | protected void partPropertyChanged(Object source, int propId)(Code) | | |
pinStatusUpdated | public void pinStatusUpdated()(Code) | | This method is called when there should be a change in the editor pin
status (added or removed) so that it will ask its presentable part
to fire a PROP_TITLE event in order for the presentation to request
the new icon for this editor
|
releaseReferences | protected void releaseReferences()(Code) | | |
setInput | public boolean setInput(IEditorInput input)(Code) | | Attempts to set the input of the editor to the given input. Note that the input
can't always be changed for an editor. Editors that don't implement IReusableEditor
can't have their input changed once they've been materialized.
since: 3.1 Parameters: input - new input true iff the input was actually changed |
|
|
|