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 |
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) LogMessage |
console
For output messages.
|
private GralMng |
gralMng |
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) GralPanelContent |
wdgPanelTabCmds
This is the panel for command selection used by
FcmdExecuter
as one tab of the left only instance of this. |
(package private) GralTable<JZtxtcmdScript.Subroutine> |
widgSelectJzExt |
(package private) GralWindow |
windConfirmExec |
Constructor and Description |
---|
FcmdExecuter(LogMessage console,
java.lang.Appendable outStatus,
Fcmd main) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
buildGui() |
(package private) void |
buildWindowConfirmExec()
Builds the content of the confirm-execute window.
|
private char |
checkKeyOfExecution(int key) |
(package 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,
LogMessage log) |
public static final java.lang.String version
JZtxtcmdExecuter
and CmdExecuter
. CmdQueue and CmdStore are obsolete.
final LogMessage console
private final Fcmd main
private final GralMng gralMng
GralWindow windConfirmExec
GralTable<JZtxtcmdScript.Subroutine> widgSelectJzExt
final java.util.Map<java.lang.String,java.util.List<JZtxtcmdScript.Subroutine>> mapCmdExt
final CmdExecuter cmdExecuter
GralPanelContent wdgPanelTabCmds
FcmdExecuter
as one tab of the left only instance of this.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 actionJZextAfterChoice
GralUserAction actionCmdFromOutputBox
GralUserAction actionCmdAbort
FcmdExecuter(LogMessage 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, LogMessage log)
void buildGui()
void executeFileByExtension(java.io.File file)
private char checkKeyOfExecution(int key)