|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccs.cpc.impl.RecurseUpdater
class RecurseUpdater
Potentially long-running processes such as recursions run in a worker thread. Periodically these need to either send back progress reports to let the user know what's going on, or perform an interaction. These need to happen in the dispatch thread.
Constructor Summary | |
---|---|
RecurseUpdater(CpcImpl cpc)
|
Method Summary | |
---|---|
(package private) int |
confirm(java.lang.String title,
java.lang.Object o)
Request a confirmation, using MsgBox.quinconfirm. |
(package private) boolean |
hurl(java.lang.Exception e)
Report an exception. |
(package private) void |
postCompact()
Perform a compaction post-process, ie. the required cleanup (only). |
(package private) void |
postRecurse(VFileProcessor vfp)
Perform a recursion post-process and the required cleanup. |
(package private) void |
reset()
Reset the updater at the start of a long-running process. |
void |
run()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
RecurseUpdater(CpcImpl cpc)
Method Detail |
---|
void reset()
int confirm(java.lang.String title, java.lang.Object o)
title
- The dialog title.o
- the payload for the dialog, usually either a String or an Object[].
boolean hurl(java.lang.Exception e)
void postRecurse(VFileProcessor vfp)
void postCompact()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |