Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.ide.editor
Interface EditorListener

All Superinterfaces:
java.util.EventListener

public interface EditorListener
extends java.util.EventListener

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.

See Also:
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

editorOpened

void editorOpened(Editor editor)
Notify listeners that a new Editor has been opened. This method is called after an Editor is opened, and its open() method called.
Parameters:
editor - the editor instance that was opened

editorActivated

void editorActivated(Editor editor)
Notify listeners that an existing Editor has been activated. This method is called after an Editor is activated, and its activate() method called.
Parameters:
editor - the editor instance that was activated

editorDeactivated

void editorDeactivated(Editor editor)
Notify listeners that an existing Editor listener is de-activated. This methodis called after an Editor is deactivated, and its deactivate() method called.
Parameters:
editor - the editor instance that was deactivated

editorClosed

void editorClosed(Editor editor)
Notify listeners that an existing Editor is being closed. This method is called right before an Editor's close() method is called.
Parameters:
editor - the editor instance that was closed

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.