|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.exml.workspace.api.listeners.WSEditorPageChangedListener
ro.sync.exml.workspace.api.listeners.WSEditorListener
@API(type=EXTENDABLE, src=PUBLIC) public class WSEditorListener
WS Editor listener. The listener is added to a WSEditor and receives different callbacks.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Field Summary | |
---|---|
static int |
SAVE_AS_OPERATION
Operation type used to signal that an editor was saved as another resource. |
static int |
SAVE_OPERATION
Operation type used to signal that an editor was saved. |
Constructor Summary | |
---|---|
WSEditorListener()
|
Method Summary | |
---|---|
boolean |
editorAboutToBeSavedVeto(int operationType)
The editor is about to be saved. |
void |
editorSaved(int operationType)
The editor was saved. |
Methods inherited from class ro.sync.exml.workspace.api.listeners.WSEditorPageChangedListener |
---|
editorPageChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SAVE_OPERATION
public static final int SAVE_AS_OPERATION
Constructor Detail |
---|
public WSEditorListener()
Method Detail |
---|
public boolean editorAboutToBeSavedVeto(int operationType)
operationType
- The operation type. One of the constants SAVE_AS_OPERATION
or SAVE_OPERATION
.
true
to continue saving it, false to cancel the save operation.public void editorSaved(int operationType)
operationType
- The operation type. One of the constants SAVE_AS_OPERATION
or SAVE_OPERATION
.
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |