Modifier and Type | Class and Description |
---|---|
(package private) static class |
Fcmd.CallingArgs |
private static class |
Fcmd.FcmdMainCmd
This class is instantiated in the static main routine and builds a command
line interface and the graphical frame.
|
Modifier and Type | Field and Description |
---|---|
(package private) GralUserAction |
actionDragFileFromStatusLine
This callback will be invoked in the drag event while the mouse is released in the destination.
|
(package private) GralUserAction |
actionEdit
Key F4 for edit command.
|
(package private) GralUserAction |
actionFocusCardInPanelToLeft |
(package private) GralUserAction |
actionFocusCardInPanelToRight |
(package private) GralUserAction |
actionFocusCmdCard
Action to focus the cmd card.
|
(package private) GralUserAction |
actionFocusFileCard |
(package private) GralUserAction |
actionFocusPanelToLeft |
(package private) GralUserAction |
actionFocusPanelToRight |
(package private) GralUserAction |
actionFocusThemeCard |
(package private) GralUserAction |
actionKey
This action is invoked for all general key pressed actions.
|
(package private) GralUserAction |
actionReadMsgConfig
Key alt-F1 to select a directory/cmd list in a list of directories for the
left panel.
|
(package private) GralUserAction |
actionTest
This action is invoked for all general key pressed actions.
|
JZtxtcmdScript.AddSub2List |
addButtonCmd |
(package private) java.util.Map<java.lang.String,JZtxtcmdScript.Subroutine> |
buttonCmds
The commands which are used for some buttons or menu items from the
JavaCommander itself.
|
(package private) Fcmd.CallingArgs |
cargs |
(package private) FcmdCopyCmprDel |
compareCmd |
(package private) FcmdCopyCmprDel |
copyCmd |
(package private) FcmdFileCard |
currentFileCard |
(package private) FcmdCopyCmprDel |
delCmd |
(package private) FcmdDelete |
deleteCmd |
(package private) FcmdEdit |
editWind |
(package private) FcmdExecuter |
executer |
(package private) FcmdFavorPathSelector |
favorPathSelector |
(package private) FcmdButtons |
fButtons |
(package private) FileCluster |
fileCluster |
(package private) FcmdFileProps |
filePropsCmd |
(package private) FcmdFilesCp |
filesCp |
protected CmdGetterArguments |
getterFileArguments
This implementation resolves the arguments for invoked commands with the capabilities of the Fcmd.
|
(package private) FcmdIdents |
idents
Note: this should be the last aggregate of Fcmd because it uses some other ones.
|
(package private) java.util.Map<java.lang.String,GralFileSelector> |
idxFileSelector |
(package private) FcmdKeyActions |
keyActions |
(package private) FcmdFavorCard |
lastFavorCard
The last used favor card or its last used file card.
|
(package private) java.util.List<FcmdLeftMidRightPanel> |
lastFilePanels
The last selected file panels in its order of selection.
|
private static Fcmd |
main
Static reference for the main instance to access from any class in the package.
|
(package private) FcmdMkDirFile |
mkCmd |
(package private) MsgRedirectConsole |
msgDisp |
(package private) java.lang.String |
nameTextFieldFilePath |
(package private) java.lang.String |
nameTextFieldInfo |
(package private) java.lang.String |
nameTextFieldRunInfo |
(package private) GralPanelContent |
panelButtons |
(package private) GralUserAction |
selectCardThemesLeft
Key alt-F1 to select a directory/cmd list in a list of directories for the
left panel.
|
(package private) GralUserAction |
selectCardThemesMiddle
Key alt-F2 to select a directory/cmd list in a list of directories for the
middle panel.
|
(package private) GralUserAction |
selectCardThemesRight
Key alt-F3 to select a directory/cmd list in a list of directories for the
right panel.
|
(package private) java.io.File[] |
selectedFiles123
The last selected files of the three panels, [0] for left .. [2] for right.
|
(package private) GralUserAction |
selectFileCardLeft
Key sh-F1 to select a directory/cmd list in a list of directories for the
right panel.
|
(package private) GralUserAction |
selectFileCardMid
Key sh-F2 to select a directory/cmd list in a list of directories for the
right panel.
|
(package private) GralUserAction |
selectFileCardOther
Key sh-F3 to select a directory/cmd list in a list of directories for the
right panel.
|
(package private) GralUserAction |
selectFileCardRight
Key sh-F3 to select a directory/cmd list in a list of directories for the
right panel.
|
(package private) FcmdSettings |
settings |
(package private) FcmdStatus |
status |
(package private) FcmdStatusLine |
statusLine |
(package private) FcmdtTarget_ifc |
target |
(package private) java.util.List<java.io.Closeable> |
threadsToClose |
static java.lang.String |
version
Version, history and license.
|
(package private) FcmdView |
viewCmd |
(package private) FcmdWindowMng |
windMng |
_gralMng, actionFile, console, gui, guiAccess, guiCfgData, guiW, mainCmd, mainTabPanel, panelBuildIfc, plugUser2Gui, user
Constructor and Description |
---|
Fcmd(Fcmd.CallingArgs cargs,
GralArea9MainCmd cmdgui) |
Modifier and Type | Method and Description |
---|---|
(package private) FileRemote |
currentDir() |
(package private) FileRemote |
currentFile() |
void |
finishMain()
Executing in the main thread loop.
|
(package private) FcmdFileCard |
getLastSelectedFileCard()
Get the last selected file card in order of selection of the file panels.
|
(package private) FcmdFileCard[] |
getLastSelectedFileCards()
Get the last selected file cards in order of selection of the file panels.
|
(package private) FileRemote[] |
getLastSelectedFiles(boolean bAlsoDirs,
int mask)
Get the last selected files in order of selection of the file panels.
|
(package private) java.util.List<java.io.File>[] |
getLastSelectedFilesPerCard()
Get the last selected file cards in order of selection of the file panels.
|
protected void |
initGuiAreas(java.lang.String sAreaMainPanel)
Initializes the areas for the panels and configure the panels.
|
protected void |
initMain() |
(package private) static Fcmd |
main()
Access the static instance of Fcmd.
|
static void |
main(java.lang.String[] args)
The command-line-invocation (primary command-line-call.
|
(package private) void |
openExtEditor(java.io.File file) |
protected void |
refreshFilePanel(FileRemote fileOrDir)
Refreshes the
FcmdFileCard if the dir is the current one. |
(package private) void |
setLastSelectedPanel(FcmdLeftMidRightPanel panel) |
void |
stepMain()
Executing in the main thread loop.
|
(package private) static void |
testT1() |
appendTextInfoBox, execute, get, getPluggedUser, initMenuGralDesigner, setTextInfoBox, showInfoBox, userInit
public static final java.lang.String version
FcmdFavorPathSelector.actionDeselectDirtree
now removes all FileRemote instances of children
because a selection is not necessary furthermore. This is a 'refresh'. But the 'refresh' (F5, ctrl-R) should not change selection,
it must not delete this children-FileRemote. Only deselection is the key action for that.
FcmdExecuter#sVersion
, FcmdSettings.sVersion
refreshFilePanel(FileRemote)
can be called in any callback thread.
GralUserAction actionTest
GralUserAction actionKey
GralUserAction actionReadMsgConfig
GralUserAction selectCardThemesLeft
GralUserAction selectCardThemesMiddle
GralUserAction selectCardThemesRight
GralUserAction selectFileCardLeft
GralUserAction selectFileCardMid
GralUserAction selectFileCardRight
GralUserAction selectFileCardOther
GralUserAction actionFocusPanelToLeft
GralUserAction actionFocusPanelToRight
GralUserAction actionFocusFileCard
GralUserAction actionFocusThemeCard
GralUserAction actionFocusCmdCard
GralUserAction actionFocusCardInPanelToLeft
GralUserAction actionFocusCardInPanelToRight
GralUserAction actionEdit
GralUserAction actionDragFileFromStatusLine
protected CmdGetterArguments getterFileArguments
public JZtxtcmdScript.AddSub2List addButtonCmd
final Fcmd.CallingArgs cargs
final MsgRedirectConsole msgDisp
final FileCluster fileCluster
final FcmdWindowMng windMng
final FcmdButtons fButtons
final FcmdStatusLine statusLine
final java.lang.String nameTextFieldInfo
final java.lang.String nameTextFieldFilePath
final java.lang.String nameTextFieldRunInfo
GralPanelContent panelButtons
final FcmdFavorPathSelector favorPathSelector
final FcmdExecuter executer
final FcmdSettings settings
final FcmdStatus status
final FcmdFileProps filePropsCmd
final FcmdCopyCmprDel copyCmd
final FcmdCopyCmprDel delCmd
final FcmdCopyCmprDel compareCmd
final FcmdMkDirFile mkCmd
final FcmdDelete deleteCmd
final FcmdFilesCp filesCp
final FcmdKeyActions keyActions
final FcmdIdents idents
final java.io.File[] selectedFiles123
java.util.List<FcmdLeftMidRightPanel> lastFilePanels
FcmdFavorCard lastFavorCard
FcmdFileCard currentFileCard
final java.util.Map<java.lang.String,GralFileSelector> idxFileSelector
FcmdtTarget_ifc target
final java.util.Map<java.lang.String,JZtxtcmdScript.Subroutine> buttonCmds
final java.util.List<java.io.Closeable> threadsToClose
public Fcmd(Fcmd.CallingArgs cargs, GralArea9MainCmd cmdgui)
void openExtEditor(java.io.File file)
static Fcmd main()
protected void initGuiAreas(java.lang.String sAreaMainPanel)
initGuiAreas
in class GuiCfg
public void stepMain()
stepMain
in class GuiCfg
GuiCfg.stepMain()
public void finishMain()
finishMain
in class GuiCfg
GuiCfg.stepMain()
void setLastSelectedPanel(FcmdLeftMidRightPanel panel)
FileRemote[] getLastSelectedFiles(boolean bAlsoDirs, int mask)
FcmdFileCard[] getLastSelectedFileCards()
java.util.List<java.io.File>[] getLastSelectedFilesPerCard()
FcmdFileCard getLastSelectedFileCard()
FileRemote currentFile()
FileRemote currentDir()
protected void refreshFilePanel(FileRemote fileOrDir)
FcmdFileCard
if the dir is the current one.
This method can be invoked in any for example callback routine in any thread, which changes the content of directories.
Note: It starts GralFileSelector.fillIn(FileRemote, boolean)
which refreshes the filesfileOrDir
- The changed file or its directory.
it is checked whether the directory is shown currently in one of the three file panels, then the panel will be refreshed.
If the directory is not shown yet then nothing is done.
Note that a directory will be refreshed whenever it will be activated in a panel.static void testT1()
public static void main(java.lang.String[] args)
args
- Some calling arguments are taken. This is the GUI-configuration
especially.