|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.extension.ElementCommand
public abstract class ElementCommand
Extension adapter class for the IElementCommand. The subclasses must override the execute/undo/redo methods to implement their own command. All the command is undoable and redoable by default.
| Constructor Summary | |
|---|---|
ElementCommand()
|
|
| Method Summary | |
|---|---|
boolean |
canRedo()
Tells if this record can be redone. |
boolean |
canUndo()
Tells if this record can be undone. |
abstract void |
execute()
Executes the record. |
java.lang.String |
getLabel()
Gets the label of this record. |
abstract void |
redo()
Redoes the record. |
abstract void |
undo()
Undoes the record. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.birt.report.model.api.extension.IElementCommand |
|---|
getElementHandle |
| Constructor Detail |
|---|
public ElementCommand()
| Method Detail |
|---|
public abstract void execute()
IElementCommand
execute in interface IElementCommandpublic abstract void undo()
IElementCommand
undo in interface IElementCommandpublic abstract void redo()
IElementCommand
redo in interface IElementCommandpublic boolean canUndo()
IElementCommand
canUndo in interface IElementCommandpublic boolean canRedo()
IElementCommand
canRedo in interface IElementCommandpublic java.lang.String getLabel()
IElementCommand
getLabel in interface IElementCommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||