See: Description
| Interface | Description |
|---|---|
| EditorListener |
The
EditorListener interface should be implemented by clients that are interested in receiving notifications about Editor instances being opened, activated, deactivated, or closed in the IDE. |
| Class | Description |
|---|---|
| Editor |
The
Editor interface defines the methods to open and close editors, along with methods to save and restore editor specific settings. |
| EditorEvent |
The DocumentEvent is the parameter passed to the
EditorListener methods when the state of Editor has changed. |
| EditorManager |
The
EditorManager manages the life cycle of Editors. |
| TextEditor |
Base class for text based editors.
|
In general, extension writers implement the Editor and/or EditorListener interfaces when introducing a new editor type, and/or requesting to be notified of editor events, respectively.
IDE service providers must provide a concrete implementation of the EditorManager interface. The Extension Development Kit (EDK) provides an abstract implementation that IDE services providers should extend: javax.ide.editor.spi.AbstractEditorManager.