private class GenericFrame.EditingCleaner extends java.lang.Object implements ConditionListener
GenericFrame.continueEditing(com.goldencode.p2j.ui.FrameElement[], boolean)
).Modifier and Type | Field and Description |
---|---|
private boolean |
condition
Track clean exit.
|
private FrameElement[] |
list
List of widgets that need cleanup.
|
Constructor and Description |
---|
EditingCleaner(FrameElement[] list)
Create an instance, storing key data for cleanup purposes.
|
Modifier and Type | Method and Description |
---|---|
void |
condition(BlockManager.Condition condition)
Track all conditions which may break the editing mode.
|
void |
deleted()
Processes the deleted notification provided by the
ProcedureManager . |
void |
finished()
Uses the finish notification provided by the
TransactionManager to ensure that any abnormal exit is detected
and cleanup occurs. |
void |
iterate()
Processes the iterate notification provided by the
TransactionManager . |
void |
retry()
Processes the retry notification provided by the
TransactionManager . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initFailure
private FrameElement[] list
private boolean condition
EditingCleaner(FrameElement[] list)
list
- Array of frame elements.public void finished()
TransactionManager
to ensure that any abnormal exit is detected
and cleanup occurs.finished
in interface Finalizable
public void deleted()
ProcedureManager
.
This implementation does nothing.deleted
in interface Finalizable
public void iterate()
TransactionManager
. This implementation does nothing.iterate
in interface Finalizable
public void retry()
TransactionManager
. This implementation does nothing.retry
in interface Finalizable
public void condition(BlockManager.Condition condition)
condition
in interface ConditionListener
condition
- Unused.