|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IElementCommand
Represents a extended element command that is integrated with the BIRT command stack. Note that BIRT commands cannot fail. BIRT assumes that all semantic or other checking has been done before executing the command. (BIRT itself divides the command mechanism into two layers: a command that does the checking and can perform multiple operations, and an activity record that records the low-level undo/redo information. This object is analogous to a BIRT activity record.)
Method Summary | |
---|---|
boolean |
canRedo()
Tells if this record can be redone. |
boolean |
canUndo()
Tells if this record can be undone. |
void |
execute()
Executes the record. |
DesignElementHandle |
getElementHandle()
Gets the extendedItem handle from the extension user. |
java.lang.String |
getLabel()
Gets the label of this record. |
void |
redo()
Redoes the record. |
void |
undo()
Undoes the record. |
Method Detail |
---|
void execute()
void undo()
void redo()
boolean canUndo()
boolean canRedo()
java.lang.String getLabel()
DesignElementHandle getElementHandle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |