|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationMonitor
Interface for application monitors.
UnitApplication
Method Summary | |
---|---|
void |
cancel()
Cancel the current application (no undo). |
void |
cancelAndUndo()
Cancel and undo the current application. |
boolean |
isCanceled()
Check whether this application has been canceled. |
boolean |
isUndo()
Check whether this application should be undone. |
void |
notifyExecute(UnitApplication application,
boolean success)
Notify this monitor that a unit application has been executed. |
void |
notifyRedo(UnitApplication application,
boolean success)
Notify this monitor that a unit application has been redone. |
void |
notifyUndo(UnitApplication application,
boolean succeess)
Notify this monitor that a unit application has been undone. |
Method Detail |
---|
boolean isCanceled()
true
if it is canceled.boolean isUndo()
true
if it should be undone.void cancel()
void cancelAndUndo()
void notifyExecute(UnitApplication application, boolean success)
application
- Executed unit application.success
- Whether the unit application was successful.void notifyUndo(UnitApplication application, boolean succeess)
application
- Undone unit application.success
- Whether the unit application was successfully undone.void notifyRedo(UnitApplication application, boolean success)
application
- Redone unit application.success
- Whether the unit application was successfully redone.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |