Interface IReusableEditor

All Superinterfaces:
IAdaptable, IEditorPart, ISaveablePart, IWorkbenchPart
All Known Implementing Classes:
AbstractDecoratedTextEditor, AbstractTextEditor, CommonSourceNotFoundEditor, CompareEditor, StatusTextEditor, TextEditor

public interface IReusableEditor extends IEditorPart
Interface for reusable editors. An editors may support changing its input so that the workbench may change its contents instead of opening a new editor.
  • Method Details

    • setInput

      void setInput(IEditorInput input)
      Sets the input to this editor.

      Note: Clients must fire the IEditorPart.PROP_INPUT property change within their implementation of setInput().

      Parameters:
      input - the editor input