public class FcmdExecuter extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) GralUserAction |
actionCmdAbort
User action to abort a running command.
|
(package private) GralUserAction |
actionCmdFromOutputBox |
(package private) GralUserAction |
actionEditCmdCfgAct
Action to open an editor for the command list from actual file.
|
(package private) GralUserAction |
actionExecuteFileByExtension |
(package private) GralUserAction |
actionJZextAfterChoice |
(package private) GralUserAction |
actionOnEnterFile
This action is associated to any
FcmdFileCard as action on enter file. |
(package private) GralUserAction |
actionSetCmdCfg
Action to set the command list from file.
|
(package private) GralUserAction |
actionSetCmdCfgAct
Action to set the command list from actual file.
|
(package private) GralUserAction |
actionSetCmdWorkingDir
Action to set the working directory for the next command invocation.
|
(package private) CmdExecuter |
cmdExecuter
The command queue to execute
|
(package private) GralCommandSelector |
cmdSelector
Table contains some commands, can be selected and executed.
|
(package private) MainCmd_ifc |
console
For output messages.
|
private Fcmd |
main |
(package private) java.util.Map<java.lang.String,java.util.List<JZtxtcmdScript.Subroutine>> |
mapCmdExt
Store of all possible commands given in the command file.
|
static java.lang.String |
version
Version, history and license.
|
(package private) GralTable<JZtxtcmdScript.Subroutine> |
widgSelectJzExt |
(package private) GralWindow_ifc |
windConfirmExec |
Constructor and Description |
---|
FcmdExecuter(MainCmd_ifc console,
java.lang.Appendable outStatus,
Fcmd main) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
buildWindowConfirmExec()
Builds the content of the confirm-execute window.
|
private char |
checkKeyOfExecution(int key) |
private void |
executeFileByExtension(java.io.File file) |
(package private) java.lang.String |
readCfgExt(java.io.File cfgFileCmdsForExt) |
java.lang.String |
readCmdCfgSelectList(JZtxtcmdScript.AddSub2List dst,
java.io.File cfgFile,
MainCmdLogging_ifc log) |
public static final java.lang.String version
JZtxtcmdExecuter
and CmdExecuter
. CmdQueue and CmdStore are obsolete.
final MainCmd_ifc console
GralWindow_ifc windConfirmExec
GralTable<JZtxtcmdScript.Subroutine> widgSelectJzExt
final java.util.Map<java.lang.String,java.util.List<JZtxtcmdScript.Subroutine>> mapCmdExt
final CmdExecuter cmdExecuter
final GralCommandSelector cmdSelector
#readCmdCfgSelectList(CmdStore, File, MainCmdLogging_ifc)
.
JZtxtcmdScript.Subroutine
entry point.
They are stored in the list in user data of type CmdBlock
.
GralCommandSelector.actionExecCmdWithFiles
respectively GralCommandSelector#actionOk(...)
CmdStore.CmdBlock#getArguments(org.vishia.cmd.CmdGetFileArgs_ifc)
.
That deals with Fcmd#getterFiles
because it is initialized with GralCommandSelector#setGetterFiles(org.vishia.cmd.CmdGetFileArgs_ifc)
GralUserAction actionSetCmdWorkingDir
GralUserAction actionSetCmdCfg
GralUserAction actionSetCmdCfgAct
GralUserAction actionEditCmdCfgAct
GralUserAction actionExecuteFileByExtension
GralUserAction actionOnEnterFile
FcmdFileCard
as action on enter file.
The file is given as parameter then.GralUserAction actionJZextAfterChoice
GralUserAction actionCmdFromOutputBox
GralUserAction actionCmdAbort
FcmdExecuter(MainCmd_ifc console, java.lang.Appendable outStatus, Fcmd main)
void buildWindowConfirmExec()
java.lang.String readCfgExt(java.io.File cfgFileCmdsForExt)
public java.lang.String readCmdCfgSelectList(JZtxtcmdScript.AddSub2List dst, java.io.File cfgFile, MainCmdLogging_ifc log)
private void executeFileByExtension(java.io.File file)
private char checkKeyOfExecution(int key)