|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
This allows clients to attach to or detach from the given Editor for the purpose of providing extra functionality. For example, the debugger may use this for determining when a Code Editor is opened so that it can display the breakpoint icon locations properly.
Clients should register listeners with the EditorManager singleton
instance. When an editor is opened, the editorOpened()
method will be called. When an editor is about to be closed, the
editorClosed()
method will be called.
Editor
,
EditorManager
Method Summary | |
void |
editorActivated(Editor editor)
Notify listeners that an existing Editor has been activated. |
void |
editorClosed(Editor editor)
Notify listeners that an existing Editor is being closed. |
void |
editorDeactivated(Editor editor)
Notify listeners that an existing Editor listener is de-activated. |
void |
editorOpened(Editor editor)
Notify listeners that a new Editor has been opened. |
Method Detail |
public void editorOpened(Editor editor)
open()
method called.editor
- the editor instance that was openedpublic void editorActivated(Editor editor)
activate()
method called.editor
- the editor instance that was activatedpublic void editorDeactivated(Editor editor)
deactivate()
method called.editor
- the editor instance that was deactivatedpublic void editorClosed(Editor editor)
close()
method is called.editor
- the editor instance that was closed
|
Extension SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |