|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.henshin.interpreter.impl.BasicApplicationMonitor
public class BasicApplicationMonitor
Basic ApplicationMonitor
implementation.
Field Summary | |
---|---|
protected boolean |
canceled
|
protected boolean |
undo
|
Constructor Summary | |
---|---|
BasicApplicationMonitor()
|
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 success)
Notify this monitor that a unit application has been undone. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean canceled
protected boolean undo
Constructor Detail |
---|
public BasicApplicationMonitor()
Method Detail |
---|
public boolean isCanceled()
ApplicationMonitor
isCanceled
in interface ApplicationMonitor
true
if it is canceled.public boolean isUndo()
ApplicationMonitor
isUndo
in interface ApplicationMonitor
true
if it should be undone.public void cancel()
ApplicationMonitor
cancel
in interface ApplicationMonitor
public void cancelAndUndo()
ApplicationMonitor
cancelAndUndo
in interface ApplicationMonitor
public void notifyExecute(UnitApplication application, boolean success)
ApplicationMonitor
notifyExecute
in interface ApplicationMonitor
application
- Executed unit application.success
- Whether the unit application was successful.public void notifyUndo(UnitApplication application, boolean success)
ApplicationMonitor
notifyUndo
in interface ApplicationMonitor
application
- Undone unit application.public void notifyRedo(UnitApplication application, boolean success)
ApplicationMonitor
notifyRedo
in interface ApplicationMonitor
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 |