public interface IEditorListener
| Modifier and Type | Method and Description |
|---|---|
void |
contentChanged(Editor editor,
java.lang.String[] blockIds)
Invoked when the content has changed.
|
void |
onError(Editor editor,
java.lang.String blockId,
java.lang.String message)
Invoked when an error has occurred.
|
void |
partChanged(Editor editor)
Invoked when the part associated with the listened editor has changed.
|
void |
partChanging(Editor editor,
ContentPart oldPart,
ContentPart newPart)
Invoked when the part associated with the listened editor is about to change.
|
void partChanging(Editor editor, ContentPart oldPart, ContentPart newPart)
editor - the editor.oldPart - the old part.newPart - the new part.Editor.setPart(ContentPart)void partChanged(Editor editor)
editor - the editor.Editor.setPart(ContentPart)void contentChanged(Editor editor, java.lang.String[] blockIds)
editor - the editor associated to the part that contains the modified content.blockIds - the identifiers of the modified blocks.void onError(Editor editor, java.lang.String blockId, java.lang.String message)
editor - the editor associated to block on which the error has occurred.blockId - the identifier of the block on which this error has occurred.message - the error message.