public final class FcmdCopyCmprDel extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected GralUserAction |
actionButtonAbort |
protected GralUserAction |
actionButtonOk
Action for any button of the confirm-copy window.
|
protected GralUserAction |
actionButtonSkipDir
This action is used to skip over the current showed file while copying.
|
protected GralUserAction |
actionButtonSkipFile
This action is used to skip over the current showed file while copying.
|
protected GralUserAction |
actionChgModeDst |
protected GralUserAction |
actionEnterTextInDst |
protected GralUserAction |
actionOverwriteFile
This action is used to skip over the current showed file while copying.
|
protected GralUserAction |
actionSelectMask |
protected GralUserAction |
actionSetDst |
protected boolean |
bFineSelect
If true then not all files are selected below the shown source directory.
|
protected org.vishia.commander.FcmdCopyCmprDel.Ecmd |
cmd
Selected handling command.
|
protected Fcmd |
main |
protected org.vishia.commander.FcmdCopyCmprDel.Estate |
state
State of the handling.
|
static int |
version
Version and History
2015-01-03 Hartmut refactory
2013-02-03 Hartmut chg: set the destination only if it is not set on button setSrc
2013-02-03 Hartmut chg:
execMove() with files
2013-02-03 Hartmut new: Copy exception (on file open to write) cases a message, the key widgOverwrFile
works together with the Ask state. |
Modifier and Type | Method and Description |
---|---|
protected void |
abortCopy() |
protected void |
closeWindow() |
protected void |
execCompare()
Starts the execution of compare in another thread.
|
protected void |
execCopy()
Starts the execution of copy in another thread.
|
protected void |
execDel() |
protected void |
execMove() |
protected GralUserAction actionButtonAbort
protected GralUserAction actionButtonOk
FileRemoteAccessorLocalFile
for local files. The copy process can be executed in an remote device without copying of data
between this device (PC) and the remote device, if the commission is organized in the remote device itself.
#success
EventConsumer
in this class. The event instance is given to the
FileRemote#copyTo(FileRemote, EventCmdPingPongType)
invocation. It is used to callback either from the thread
which copies local or from the thread which receives the copy response telegrams for remote communication.
listEvCopy
. If the callback occurs, the event
will be removed from the list. The list is only used to check whether the copy action is succeeded
respectively to check whether all copy actions are succeeded. If a copy success callback is not received,
for example because a remote device hangs or the communication fails, the copy process hasn't no
progression. The operator on this machine sees this situation because the progression bar stands.
The operator can abort the copy process to preset to a default empty state.protected GralUserAction actionButtonSkipDir
protected GralUserAction actionButtonSkipFile
protected GralUserAction actionChgModeDst
protected GralUserAction actionEnterTextInDst
protected GralUserAction actionOverwriteFile
protected GralUserAction actionSelectMask
protected GralUserAction actionSetDst
protected boolean bFineSelect
protected org.vishia.commander.FcmdCopyCmprDel.Ecmd cmd
protected org.vishia.commander.FcmdCopyCmprDel.Estate state
public static final int version
execMove()
with files
widgOverwrFile
works together with the Ask state.
filesToCopy
will be filled after callback of check. The files which are used
are read only from the input fields of the GUI. The user can change it.
protected final void abortCopy()
protected void closeWindow()
protected final void execCompare()
FileRemote#refreshAndCompare(FileRemote, int, String, int, org.vishia.fileRemote.FileRemote.CallbackEvent)
.protected final void execCopy()
FileRemote.children()
tree.
See FileRemote#copyChecked(String, String, int, org.vishia.fileRemote.FileRemote.CallbackEvent)
.protected final void execDel()
protected final void execMove()