|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilePasteCallback
Listens as a copy/paste operation is performed by an instance of
FilePasteThread. Implementations can display a progress bar in the
UI, or a ProgressMonitor
, to keep the user updated on the
operation's progress.
DefaultFilePasteCallback
Method Summary | |
---|---|
boolean |
filePasteUpdate(int pasteCount,
int total,
java.io.File justPastedFile)
Called when a file is pasted, or the total number of files to paste has been recalculated. |
void |
pasteOperationCompleted(int pasteCount)
Called when the paste operation has completed. |
Method Detail |
---|
boolean filePasteUpdate(int pasteCount, int total, java.io.File justPastedFile)
pasteCount
- The number of files pasted thus far.total
- The total number of files to paste.justPastedFile
- The name of a file just pasted, or
null
if this event is simply specifying a new
value for total
.
true
, any remaining files will not be
copied.void pasteOperationCompleted(int pasteCount)
pasteCount
- The total number of files ultimately pasted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |