IEditorInput
. Modifications made in an editor part follow an open-save-close lifecycle model (in contrast to a view part, where modifications are saved to the workbench immediately). An editor is document or input-centric. Each editor has an input, and only one editor can exist for each editor input within a page. This policy has been designed to simplify part management.
An editor should be used in place of a view whenever more than one instance of a document type can exist.
This interface may be implemented directly. For convenience, a base implementation is defined in EditorPart
.
An editor part is added to the workbench in two stages:
All editor parts implement the IAdaptable
interface; extensions are managed by the platform's adapter manager.
|
|