public class Fcmd
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Fcmd.CallingArgs |
static class |
Fcmd.LogMsg
This class defines only static numbers for messages.
|
Modifier and Type | Field and Description |
---|---|
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
The last used favor card or its last used file card.
|
(package private) FcmdCopyCmprDel |
delCmd |
(package private) FcmdDelete |
deleteCmd |
(package private) FcmdEdit |
editWind |
(package private) FcmdExecuter |
executer |
(package private) FcmdFavorPathSelector |
favorPathSelector
This instance contains the three panels.
|
(package private) FcmdButtons |
fButtons |
(package private) FcmdActions |
fcmdActions |
(package private) FileCluster |
fileCluster |
(package private) GralFileProperties |
fileProps |
(package private) FcmdFilesCp |
filesCp |
(package private) GralViewFileContent |
fileViewer |
protected CmdGetterArguments |
getterFileArguments
This implementation resolves the arguments for invoked commands with the capabilities of the Fcmd.
|
(package private) FcmdGui |
gui |
(package private) FcmdIdents |
idents |
(package private) java.util.Map<java.lang.String,GralFileSelector> |
idxFileSelector |
(package private) FcmdKeyActions |
keyActions |
(package private) java.util.List<FcmdLeftMidRightPanel> |
lastFilePanels
The last selected file panels in its order of selection.
|
(package private) LogMessage |
log |
private static Fcmd |
main
Static reference for the main instance to access from any class in the package.
|
(package private) FcmdMkDirFile |
mkCmd |
(package private) java.lang.String |
nameTextFieldFilePath |
(package private) java.lang.String |
nameTextFieldInfo |
(package private) java.lang.String |
nameTextFieldRunInfo |
(package private) GralPanelContent |
panelButtons |
(package private) FcmdCopyCmprDel |
searchCmd |
(package private) java.io.File[] |
selectedFiles123
The last selected files of the three panels, [0] for left .. [2] for right.
|
(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) FcmdWindowMng |
windMng |
Constructor and Description |
---|
Fcmd(Fcmd.CallingArgs cargs) |
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()
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() |
public static final java.lang.String version
GralWindow_ifc.windMinimizeOnClose
to prevent accidentally close.
Menu "Windows-Close" added.
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.
protected CmdGetterArguments getterFileArguments
public JZtxtcmdScript.AddSub2List addButtonCmd
final Fcmd.CallingArgs cargs
final FcmdActions fcmdActions
final FcmdGui gui
LogMessage log
final FileCluster fileCluster
final FcmdIdents idents
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
FcmdExecuter executer
final FcmdSettings settings
final FcmdStatus status
final GralFileProperties fileProps
final GralViewFileContent fileViewer
final FcmdEdit editWind
final FcmdCopyCmprDel copyCmd
final FcmdCopyCmprDel delCmd
final FcmdCopyCmprDel compareCmd
final FcmdCopyCmprDel searchCmd
final FcmdMkDirFile mkCmd
final FcmdDelete deleteCmd
final FcmdFilesCp filesCp
final FcmdKeyActions keyActions
final java.io.File[] selectedFiles123
java.util.List<FcmdLeftMidRightPanel> lastFilePanels
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)
void openExtEditor(java.io.File file)
static Fcmd main()
protected void initGuiAreas()
protected final void initMain()
public void stepMain()
public void finishMain()
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.