public interface XBTCommand
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption()
Get caption as text
|
XBBasicCommandType |
getOpType()
Get revert step type
|
void |
perform(XBTEditableDocument document)
Perform operation on given document.
|
void |
revert(XBTEditableDocument document)
Perform revert operation on given document.
|
boolean |
supportRevert()
Returns true if command support revert operation.
|
XBBasicCommandType getOpType()
java.lang.String getCaption()
void perform(XBTEditableDocument document) throws java.lang.Exception
document - a document to perform operation on.java.lang.Exceptionvoid revert(XBTEditableDocument document) throws java.lang.Exception
document - a document to perform operation on.java.lang.Exceptionboolean supportRevert()